Returns location within the hierarchy of a scene object.
- Parameters
-
self | Transform component of object in question |
- Returns
- Hierarchy location formated as a directory-string
Definition at line 176 of file AVR_Utils.cs.
178 string path = self.gameObject.name;
179 Transform p = self.parent;
182 path = p.name +
"/" + path;