Back To Index

EnableIfAllPlayersReady

Jump To Parameters
Jump To Function Definitions


Parameter Definitions

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

mustBeOnwer
targets


mustBeOnwer

Will only be enabled if you’re also the MasterClient of the photon room.

Exposed Value Type Default Value
protected bool false

Back To Top


targets

The list of GameObjects to enable or disable.

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

Back To Top

Function Definitions

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

EnableTargets
FixedUpdate


protected virtual void EnableTargets(bool isEnabled)

Enable or disable all the targets based on the input value.

Expose Value Overrideable Returns
protected True Does not return anything
Parameter Name Description
isEnabled *No found decription

Back To Top


protected virtual void FixedUpdate()

Will constantely set all the targets to be active based on the return value from the UICoreLogic’s AllPlayersReady function. Calls EnableTargets to enable or disable all the targets

Expose Value Overrideable Returns
protected True Does not return anything

No parameters

Back To Top