Transform extensions
More...
◆ ChangeLayersRecursively() [1/2]
static void MoreMountains.Tools.TransformExtensions.ChangeLayersRecursively |
( |
this Transform |
transform, |
|
|
int |
layerIndex |
|
) |
| |
|
static |
Changes the layer of a transform and all its children to the new one
- Parameters
-
◆ ChangeLayersRecursively() [2/2]
static void MoreMountains.Tools.TransformExtensions.ChangeLayersRecursively |
( |
this Transform |
transform, |
|
|
string |
layerName |
|
) |
| |
|
static |
Changes the layer of a transform and all its children to the new one
- Parameters
-
◆ MMDestroyAllChildren()
static void MoreMountains.Tools.TransformExtensions.MMDestroyAllChildren |
( |
this Transform |
transform | ) |
|
|
static |
Destroys a transform's children
- Parameters
-
◆ MMEnumerateAllParents()
static IEnumerable<Transform> MoreMountains.Tools.TransformExtensions.MMEnumerateAllParents |
( |
this Transform |
targetTransform, |
|
|
bool |
includeSelf = false |
|
) |
| |
|
static |
Enumerates all parents of a transform
- Parameters
-
targetTransform | |
includeSelf | |
- Returns
◆ MMFindDeepChildBreadthFirst()
static Transform MoreMountains.Tools.TransformExtensions.MMFindDeepChildBreadthFirst |
( |
this Transform |
parent, |
|
|
string |
transformName |
|
) |
| |
|
static |
Finds children by name, breadth first
- Parameters
-
- Returns
◆ MMFindDeepChildDepthFirst()
static Transform MoreMountains.Tools.TransformExtensions.MMFindDeepChildDepthFirst |
( |
this Transform |
parent, |
|
|
string |
transformName |
|
) |
| |
|
static |
Finds children by name, depth first
- Parameters
-
- Returns
The documentation for this class was generated from the following file: