Esempio n. 1
0
 public static (bool, string) GetRelativePath(this GameObject self, GameObject parentGameObject = null)
 {
     return(TransformUtil.GetRelativePath(self.transform,
                                          parentGameObject == null ? null : parentGameObject.transform));
 }
Esempio n. 2
0
 public static (bool, string) GetRelativePath(this Transform self, Transform parentTransform = null)
 {
     return(TransformUtil.GetRelativePath(self, parentTransform));
 }