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