Пример #1
0
 public static GameObject LoadObject <T>(string path, Vector3 localScale, Quaternion localRotation, Vector3 localPosition, Transform parent, string tag)
     where T : UnityEngine.Component
 {
     return(Modeling.LoadObject <T>(path, localScale, localRotation, localPosition, parent, tag));
 }
Пример #2
0
 public static GameObject LoadObject <T>(string path, Quaternion localRotation, string tag = "Default", Transform parent = null)
     where T : UnityEngine.Component
 {
     return(Modeling.LoadObject <T>(path, Vector3.one, localRotation, Vector3.zero, parent, tag));
 }
Пример #3
0
 public static GameObject LoadObject <T>(string path, string tag = "Player", Transform parent = null)
     where T : UnityEngine.Component
 {
     return(Modeling.LoadObject <T>(path, Vector3.one, Quaternion.Euler(0, 0, 0), Vector3.zero, parent, tag));
 }