Corgi Engine v9.3
|
Transform extensions More...
Static Public Member Functions | |
static void | MMDestroyAllChildren (this Transform transform) |
Destroys a transform's children More... | |
static Transform | MMFindDeepChildBreadthFirst (this Transform parent, string transformName) |
Finds children by name, breadth first More... | |
static Transform | MMFindDeepChildDepthFirst (this Transform parent, string transformName) |
Finds children by name, depth first More... | |
static void | ChangeLayersRecursively (this Transform transform, string layerName) |
Changes the layer of a transform and all its children to the new one More... | |
static void | ChangeLayersRecursively (this Transform transform, int layerIndex) |
Changes the layer of a transform and all its children to the new one More... | |
static IEnumerable< Transform > | MMEnumerateAllParents (this Transform targetTransform, bool includeSelf=false) |
Enumerates all parents of a transform More... | |
Transform extensions
|
static |
Changes the layer of a transform and all its children to the new one
transform | |
layerIndex |
|
static |
Changes the layer of a transform and all its children to the new one
transform | |
layerName |
|
static |
Destroys a transform's children
transform |
|
static |
Enumerates all parents of a transform
targetTransform | |
includeSelf |
|
static |
Finds children by name, breadth first
parent | |
transformName |
|
static |
Finds children by name, depth first
parent | |
transformName |