Пример #1
0
 public static Object InstantiateOPRP(Func <Object, Vector3, Quaternion, Transform, Object> orig, Object original, Vector3 position, Quaternion rotation, Transform parent)
 {
     return(FakePrefab.Instantiate(original, orig(original, position, rotation, parent)));
 }
Пример #2
0
 public static Object InstantiateOPR(Func <Object, Vector3, Quaternion, Object> orig, Object original, Vector3 position, Quaternion rotation)
 {
     return(FakePrefab.Instantiate(original, orig(original, position, rotation)));
 }
Пример #3
0
 public static Object InstantiateOP(Func <Object, Transform, Object> orig, Object original, Transform parent)
 {
     return(FakePrefab.Instantiate(original, orig(original, parent)));
 }
Пример #4
0
 public static Object InstantiateO(Func <Object, Object> orig, Object original)
 {
     return(FakePrefab.Instantiate(original, orig(original)));
 }
Пример #5
0
 public static Object InstantiateOPI(Func <Object, Transform, bool, Object> orig, Object original, Transform parent, bool instantiateInWorldSpace)
 {
     return(FakePrefab.Instantiate(original, orig(original, parent, instantiateInWorldSpace)));
 }