public static UnityEngine.Object InstantiateOP(Func <UnityEngine.Object, Transform, UnityEngine.Object> orig, UnityEngine.Object original, Transform parent) { return(FakePrefab.InstantiateFakePrefab(original, orig(original, parent))); }
public static UnityEngine.Object InstantiateOPRP(Func <UnityEngine.Object, Vector3, Quaternion, Transform, UnityEngine.Object> orig, UnityEngine.Object original, Vector3 position, Quaternion rotation, Transform parent) { return(FakePrefab.InstantiateFakePrefab(original, orig(original, position, rotation, parent))); }
public static UnityEngine.Object InstantiateOPI(Func <UnityEngine.Object, Transform, bool, UnityEngine.Object> orig, UnityEngine.Object original, Transform parent, bool instantiateInWorldSpace) { return(FakePrefab.InstantiateFakePrefab(original, orig(original, parent, instantiateInWorldSpace))); }
public static UnityEngine.Object InstantiateO(Func <UnityEngine.Object, UnityEngine.Object> orig, UnityEngine.Object original) { return(FakePrefab.InstantiateFakePrefab(original, orig(original))); }