コード例 #1
0
 public static Object InstantiateOP(Func <Object, Transform, Object> orig, Object original, Transform parent)
 {
     return(ShrineFakePrefab.Instantiate(original, orig(original, parent)));
 }
コード例 #2
0
 public static Object InstantiateOPI(Func <Object, Transform, bool, Object> orig, Object original, Transform parent, bool instantiateInWorldSpace)
 {
     return(ShrineFakePrefab.Instantiate(original, orig(original, parent, instantiateInWorldSpace)));
 }
コード例 #3
0
 public static T InstantiateGeneric <T>(Object original) where T : Object
 {
     return((T)ShrineFakePrefab.Instantiate(original, Object.Instantiate(original)));
 }
コード例 #4
0
 public static Object InstantiateOPRP(Func <Object, Vector3, Quaternion, Transform, Object> orig, Object original, Vector3 position, Quaternion rotation, Transform parent)
 {
     return(ShrineFakePrefab.Instantiate(original, orig(original, position, rotation, parent)));
 }
コード例 #5
0
 public static Object InstantiateOPR(Func <Object, Vector3, Quaternion, Object> orig, Object original, Vector3 position, Quaternion rotation)
 {
     return(ShrineFakePrefab.Instantiate(original, orig(original, position, rotation)));
 }
コード例 #6
0
 public static Object InstantiateO(Func <Object, Object> orig, Object original)
 {
     return(ShrineFakePrefab.Instantiate(original, orig(original)));
 }