HierarchyGetFullPath Method |
Returns a full path to the object starting from the specified parent.
Namespace:
KSPDev.ModelUtils
Assembly:
KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntaxpublic static string[] GetFullPath(
Transform obj,
Transform parent = null
)
Request Example
View SourceParameters
- obj
- Type: UnityEngineTransform
The object to find path for. - parent (Optional)
- Type: UnityEngineTransform
The object at which the path must stop. If null then the path is gathered to the root
object.
Return Value
Type:
StringA full path name components. The names are not escaped.
See Also