EnableIfTeam
Jump To Parameters
Jump To Function Definitions
Parameter Definitions
Select the parameter name from below to jump directly to it on this page.
checkType
ForEveryone=Does the NetworkManager teamName variable match this teamName variable?\nā
IfOwner=Are you the master client and does the NetworkManager teamName variable match this teamName variable?\nā
IfNotOwner=Are you NOT the master client and does the NetworkManager teamName variable match this teamName variable?
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | ChangeType | ChangeType.ForEveryone |
items
List of items to enable or disable.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | GameObject[] | new GameObject[] { } |
teamName
Enable the selected items if you are on the team name.
| Exposed Value | Type | Default Value |
|---|---|---|
| protected | string | āā |
Function Definitions
Select the function name from below to jump directly to it on this page.
protected virtual void EnableItems(bool isEnabled)
Enable all the items or disable all the items based on the input value.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
| Parameter Name | Description |
|---|---|
| isEnabled | bool type, enable all the items? |
protected virtual void Update()
Enable or disable the objects dynamically if the specified settings match.
| Expose Value | Overrideable | Returns |
|---|---|---|
| protected | True | Does not return anything |
No parameters