Back To Index

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[] { }

Back To Top


gameObjects

List of GameObjects to enable or disable.

Exposed Value Type Default Value
protected GameObject[] new GameObject[] { }

Back To Top


invertActions

False = perform normal, True = Will enable buttons and gameObjects if the chat is NOT enabled.

Exposed Value Type Default Value
protected bool false

Back To Top

Function Definitions

Select the function name from below to jump directly to it on this page.

EnableTargets
Update


protected virtual void EnableTargets(bool isEnabled)

Will enable or disable all of the buttons and gameObjects based on the input value.

Expose Value Overrideable Returns
protected True Does not return anything
Parameter Name Description
isEnabled bool type, enable the targets?

Back To Top


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 invertActions is true. Objects are enabled/disabled by calling EnableTargets function.

Expose Value Overrideable Returns
protected True Does not return anything

No parameters

Back To Top