GameObjectUtils.

Hide(GameObject, GameObjectUtils.HidePolicy, bool) Method

Summary

Hides a GameObject using given policy

Syntax

public static void Hide(GameObject gameObject, GameObjectUtils.HidePolicy hidePolicy, bool applyOnChildren)

Parameters

Name Type Description
gameObject GameObject The gameObject to hide
hidePolicy GameObjectUtils.HidePolicy The hiding policy
applyOnChildren bool Applies on children

Return Value

Type Description
void