Hierarchy Methods |
The Hierarchy type exposes the following members.
Name | Description | |
---|---|---|
EscapeName | Escapes all the special symbols in the name. | |
FindPartModelByPath(Part, String, Transform) | Finds a transform in the hirerachy by the provided path. | |
FindPartModelByPath(Part, String, Transform) | Finds a transform in the hirerachy by the provided path. | |
FindTransformByPath(Transform, String, Transform) | Finds a transform in the hirerachy by the provided path. | |
FindTransformByPath(Transform, String, Transform) | Finds a transform in the hirerachy by the provided path. | |
FindTransformInChildren | Finds a transform by name down the hierarchy. | |
GetFullPath | Returns a full path to the object starting from the specified parent. | |
GetPartModelTransform | Returns part's model transform. | |
ListHirerahcy |
Returns the paths to all the transformations in the object. Each item is a full path to the
transformation starting from the parent.
| |
MakePath | Escapes the element names and builds a path. | |
MoveToParent | Changes transform's parent keeping local postion, rotation and scale. | |
PatternMatch |
Checks target string against a simple pattern which allows prefix, suffix, and contains match.
The match is case-sensitive.
| |
SafeDestroy(Component) | Destroys the object in a way which is safe for physical callback methods. | |
SafeDestroy(GameObject) | Destroys the object in a way which is safe for physical callback methods. | |
SafeDestroy(Transform) | Destroys the object in a way which is safe for physical callback methods. | |
SplitAndUnescapePath | Splits a path and unescapes the name elements. | |
UnescapeName | Unescapes all the special symbols in the name. |