-
Notifications
You must be signed in to change notification settings - Fork 1
cop_bool_var
Class Name: COP_BoolVar
Inherits: Resource
cop_bool_var class stores and shares the reference for a bool type. The stored value can be changed during run time through scripts. It can NOT be set during editor mode.
Type | Name | Default Value |
---|---|---|
bool | _value |
Return Type | Name |
---|---|
bool | get_value() |
void | set_value( bool value ) |
bool _value
The stored value that will be shared through the method get_value(). This value can also be changed during runtime through the method set_value().
Note: This value can NOT have a pre-defined value when the application starts. It can only be set through script.
bool get_value ()
This method returns the stored _value.
Note: To get the stored value you MUST call this method. Do NOT call the _value directly as that may give unwanted results.
void set_value ( bool value )
This method sets the stored _value.
Note: To set the stored value you MUST call this method. Do NOT call _value. directly as that may give unwanted results.
- Tutorial Bar
- Tutorial Debug
- Tutorial Instantiate Object
- Tutorial Pool
- Tutorial Timer
- Tutorial Update Manager
- Tutorial Variable Creator
- Bars
- Debugs
- Maths
- Pools
- Resources
- Fixed Vars
- Managers
- Observers
- Vars
- Script Templates
- Timers
- Updates