FrameIT
GameObjectExtensions Class Reference

Static Public Member Functions

static bool IsRoot (this GameObject root)
 
static void SetActiveByTagRecursive (this GameObject root, string tag, bool enable)
 
static void DestroyAllChildren (this GameObject root)
 
static void SetActiveAllChildren (this GameObject root, bool active)
 
static void ForAllChildren (this GameObject root, Action< GameObject > func_on_child)
 
static List< GameObject > GetDirectChildren (this GameObject root)
 
static GameObject GetNthChild (this GameObject root, IEnumerable< int > pos)
 

Member Function Documentation

◆ DestroyAllChildren()

static void GameObjectExtensions.DestroyAllChildren ( this GameObject  root)
static

◆ ForAllChildren()

static void GameObjectExtensions.ForAllChildren ( this GameObject  root,
Action< GameObject >  func_on_child 
)
static

◆ GetDirectChildren()

static List< GameObject > GameObjectExtensions.GetDirectChildren ( this GameObject  root)
static

◆ GetNthChild()

static GameObject GameObjectExtensions.GetNthChild ( this GameObject  root,
IEnumerable< int >  pos 
)
static

◆ IsRoot()

static bool GameObjectExtensions.IsRoot ( this GameObject  root)
static

◆ SetActiveAllChildren()

static void GameObjectExtensions.SetActiveAllChildren ( this GameObject  root,
bool  active 
)
static

◆ SetActiveByTagRecursive()

static void GameObjectExtensions.SetActiveByTagRecursive ( this GameObject  root,
string  tag,
bool  enable 
)
static

The documentation for this class was generated from the following file: