Beispiel #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)));
 }
Beispiel #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)));
 }
Beispiel #3
0
 public static Object InstantiateOP(Func <Object, Transform, Object> orig, Object original, Transform parent)
 {
     return(FakePrefab.Instantiate(original, orig(original, parent)));
 }
Beispiel #4
0
 public static Object InstantiateO(Func <Object, Object> orig, Object original)
 {
     return(FakePrefab.Instantiate(original, orig(original)));
 }
Beispiel #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)));
 }