Back To Index

EnableIfMine

Jump To Parameters
Jump To Function Definitions


Parameter Definitions

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

targets


targets

The list of gameobjects to enable if you are the “
owner player or not.

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
Start


protected virtual void EnableTargets(bool isEnabled)

Loops through the targets and disables/enables them based on the input value.

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

Back To Top


protected virtual void Start()

Enables/Disables the list of targets if you’re the owner or not. This is done by calling the EnableTargets function.

Expose Value Overrideable Returns
protected True Does not return anything

No parameters

Back To Top