eDriven Framework API
IterateChildren Method (gameObject, childHandler, recursive)
Namespaces ► eDriven.Core.Util ► GameObjectUtil ► IterateChildren(GameObject, GameObjectUtil..::..ChildHandler, Boolean)
eDriven Framework API
Iterates all children of a game object
Declaration Syntax

C# | Visual Basic | Visual C++

    public static void IterateChildren(
    	GameObject gameObject,
    	GameObjectUtil..::..ChildHandler childHandler,
    	bool recursive
    )

    Public Shared Sub IterateChildren ( _
    	gameObject As GameObject, _
    	childHandler As GameObjectUtil..::..ChildHandler, _
    	recursive As Boolean _
    )

    public:
    static void IterateChildren(
    	GameObject^ gameObject,
    	GameObjectUtil..::..ChildHandler^ childHandler,
    	bool recursive
    )

Parameters

gameObject (GameObject)
  A root game object

childHandler (GameObjectUtil..::..ChildHandler)
  A function to execute on each child

recursive (Boolean)
  Do it on recursively on children?

Assembly: eDriven.Core (Module: eDriven.Core) Version: 2.0.1.0 (2.0.1.0)