Class GameObjectUtilities
Contains utility functions for working with GameObjects
Namespace: WeaverCore.Utilities
Assembly: WeaverCore.dll
Syntax
public static class GameObjectUtilities
Methods
| Edit this page View SourceActivateAllChildren(GameObject, bool)
Activates a GameObject, as well as all children recursively
Declaration
public static void ActivateAllChildren(this GameObject gm, bool active)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gm | The gameObject to activate |
bool | active | Should the gameobject and children be active? |