public static void LoadAsyncObject(string path, System.Action callback = null, string tag = "Default", Transform parent = null) { LoadModel.LoadAsyncObject <GameObject>(path, () => { Modeling.LoadPrefab(path, tag, parent); callback?.Invoke(); }); }
public static void LoadAsyncObject(string path, Quaternion localRotation, string tag = "Player", Transform parent = null) { LoadModel.LoadAsyncObject <GameObject>(path, () => Modeling.LoadPrefab(path, tag, parent)); }