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
Will only be enabled if you’re also the MasterClient of the photon room.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | bool | false |
targets
The list of GameObjects to enable or disable.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | GameObject[] | new GameObject[] { } |
Function Definitions
Select the function name from below to jump directly to it on this page.
protected virtual void EnableTargets(bool isEnabled)
Enable or disable all the
targetsbased on the input value.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
| Parameter Name | Description |
|---|---|
| isEnabled | *No found decription |
protected virtual void FixedUpdate()
Will constantely set all the targets to be active based on the return value from the
UICoreLogic’sAllPlayersReadyfunction. CallsEnableTargetsto enable or disable all the targets
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters