Represents a boolean parameter used in a game.
More...
|
| override void | AssignValue (float newVal) |
| | Assigns a value to the BoolParameter based on the input newVal.
|
| |
| override bool | AllowNetworkSync () |
| | Determines whether the BoolParameter allows network synchronization.
|
| |
| override float | NetworkValue () |
| | Return the value to be used for Network Synchronization.
|
| |
|
| T | GetServerOverride< T > (T current) |
| | Overrides the current value of a parameter with the value fetched from the server, if available.
|
| |
Represents a boolean parameter used in a game.
◆ AllowNetworkSync()
| override bool Enablegames.BoolParameter.AllowNetworkSync |
( |
| ) |
|
|
inline |
Determines whether the BoolParameter allows network synchronization.
- Returns
- Returns true if the BoolParameter allows network synchronization, otherwise false.
◆ AssignValue()
| override void Enablegames.BoolParameter.AssignValue |
( |
float | newVal | ) |
|
|
inline |
Assigns a value to the BoolParameter based on the input newVal.
- Parameters
-
| newVal | The value to assign to the BoolParameter. |
◆ NetworkValue()
| override float Enablegames.BoolParameter.NetworkValue |
( |
| ) |
|
|
inline |
Return the value to be used for Network Synchronization.
Inherits from the abstract class GameParameter and implements the necessary methods.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Parameters/ParamCreator/GameParameters/BoolParameter.cs