HierarchyListHirerahcy Method |
Returns the paths to all the transformations in the object. Each item is a full path to the
transformation starting from the parent.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.1.1 (in KSPDev_Utils.1.1.dll) Version: 1.1 for KSP v1.6+
Syntaxpublic static string[] ListHirerahcy(
Transform parent,
string pathPrefix = ""
)
Request Example
View SourceParameters
- parent
- Type: UnityEngineTransform
The object to start from. - pathPrefix (Optional)
- Type: SystemString
The prefix to add to every path in the result.
Return Value
Type:
StringThe paths to all the objects in the hierarchy separated by a LF symbol.
See Also