MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetActorsTree

Method GetActorsTree

Source/Editor/Utilities/Utils.cs:194–202  ·  view source on GitHub ↗
(List<Actor> list, Actor a)

Source from the content-addressed store, hash-verified

192 }
193
194 internal static void GetActorsTree(List<Actor> list, Actor a)
195 {
196 list.Add(a);
197 int cnt = a.ChildrenCount;
198 for (int i = 0; i < cnt; i++)
199 {
200 GetActorsTree(list, a.GetChild(i));
201 }
202 }
203
204 /// <summary>
205 /// Clones the value. handles non-value types (such as arrays) that need deep value cloning.

Callers 5

OnDragDropHeaderMethod · 0.80
OnPrefabCreatedMethod · 0.80
OnValueChangedMethod · 0.80
OnDebugDrawMethod · 0.80

Calls 2

AddMethod · 0.45
GetChildMethod · 0.45

Tested by

no test coverage detected