Summary
Hides a GameObject using given policy
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .Utils - Containing Type
- GameObjectUtils
Syntax
public static void Hide(GameObject gameObject, GameObjectUtils.HidePolicy hidePolicy, bool applyOnChildren)
Parameters
| Name | Type | Description |
|---|---|---|
| gameObject | GameObject | The gameObject to hide |
| hidePolicy | GameObjectUtils |
The hiding policy |
| applyOnChildren | bool | Applies on children |
Return Value
| Type | Description |
|---|---|
| void |