EnableIfChatConnected
Jump To Parameters
Jump To Function Definitions
Parameter Definitions
Select the parameter name from below to jump directly to it on this page.
buttons
gameObjects
invertActions
buttons
List of buttons to enable or disable.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | Button[] | new Button[] { } |
gameObjects
List of GameObjects to enable or disable.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | GameObject[] | new GameObject[] { } |
invertActions
False = perform normal, True = Will enable
buttonsandgameObjectsif the chat is NOT enabled.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | bool | false |
Function Definitions
Select the function name from below to jump directly to it on this page.
protected virtual void EnableTargets(bool isEnabled)
Will enable or disable all of the
buttonsandgameObjectsbased on the input value.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
| Parameter Name | Description |
|---|---|
| isEnabled | bool type, enable the targets? |
protected virtual void Update()
Will enable the buttons or gameobjects if you’re connected/not connected to the ChatBox data channel. Actions are opposite if
invertActionsis true. Objects are enabled/disabled by callingEnableTargetsfunction.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters