Parameter | Description |
---|---|
obj | Object to obtain a path from. |
string Returns the path of an object.
Get the path of a Unity Object. If it is a GameObject or a Component it is the <see cref="SearchUtils.GetTransformPath(Transform)"/>. Else it is the asset name.