-
Notifications
You must be signed in to change notification settings - Fork 1
cop_fixed_float_var
Class Name: COP_FixedFloatVar
Inherits: Resource
cop_fixed_float_var class stores and shares the reference to a float. The stored value can NOT and should NOT be changed during run time. It can ONLY be changed during editor mode.
The purpose of _Fixed post-fix scripts are that they will only share values and NOT update them during run time.
Type | Name | Default Value |
---|---|---|
float | _value |
Return Type | Name |
---|---|
float | get_value() |
float _value
The stored value that will be shared through the method get_value().
Note: Do NOT change this value from script. The purpose of this script is to ONLY share the value that has been set during the editor mode. ONLY get this value through the method get_value() otherwise it may give unwanted results.
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.
- 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