コード例 #1
0
 public static UnityEngine.Object InstantiateOP(Func <UnityEngine.Object, Transform, UnityEngine.Object> orig, UnityEngine.Object original, Transform parent)
 {
     return(FakePrefab.InstantiateFakePrefab(original, orig(original, parent)));
 }
コード例 #2
0
 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)));
 }
コード例 #3
0
 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)));
 }
コード例 #4
0
 public static UnityEngine.Object InstantiateO(Func <UnityEngine.Object, UnityEngine.Object> orig, UnityEngine.Object original)
 {
     return(FakePrefab.InstantiateFakePrefab(original, orig(original)));
 }