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
The list of gameobjects to enable if you are the “
owner player or not.
| 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)
Loops through the
targetsand 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? |
protected virtual void Start()
Enables/Disables the list of
targetsif you’re the owner or not. This is done by calling theEnableTargetsfunction.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters