Represents a boolean widget that can be used to control game objects and update a boolean parameter.
More...
|
| void | SetStateForGameObjects (bool state) |
| | Sets the state for the game objects based on the given boolean state.
|
| |
| override void | UpdateParameter (object o) |
| | Updates the parameter value of the BoolWidget based on the given object.
|
| |
Represents a boolean widget that can be used to control game objects and update a boolean parameter.
◆ SetStateForGameObjects()
| void Enablegames.BoolWidget.SetStateForGameObjects |
( |
bool | state | ) |
|
|
inline |
Sets the state for the game objects based on the given boolean state.
- Parameters
-
| state | The boolean state to set for the game objects. |
◆ UpdateParameter()
| override void Enablegames.BoolWidget.UpdateParameter |
( |
object | o | ) |
|
|
inlinevirtual |
Updates the parameter value of the BoolWidget based on the given object.
- Parameters
-
| o | The object to update the parameter value with. |
- Exceptions
-
| System.ApplicationException | Thrown when there is a mismatch between the widget and parameter type. |
Reimplemented from Enablegames.ParameterWidget.
The documentation for this class was generated from the following file:
- /Users/yiyangshang/egdl2/Assets/eag/Scripts/enablegames/Parameters/ParamCreator/UIWidgets/BoolWidget.cs