예제 #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)));
 }