-
Notifications
You must be signed in to change notification settings - Fork 1
cop_float_var
Class Name: COP_FloatVar
Inherits: Resource
cop_float_var class stores and shares the reference for a float type. The stored value can be changed during run time through scripts. It can NOT be set during editor mode.
Type | Name | Default Value |
---|---|---|
float | _value |
Return Type | Name |
---|---|
float | get_value() |
void | set_value( float value ) |
float _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.
float 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 ( float 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