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))); }
public static Object InstantiateOPR(Func <Object, Vector3, Quaternion, Object> orig, Object original, Vector3 position, Quaternion rotation) { return(FakePrefab.Instantiate(original, orig(original, position, rotation))); }
public static Object InstantiateOP(Func <Object, Transform, Object> orig, Object original, Transform parent) { return(FakePrefab.Instantiate(original, orig(original, parent))); }
public static Object InstantiateO(Func <Object, Object> orig, Object original) { return(FakePrefab.Instantiate(original, orig(original))); }
public static Object InstantiateOPI(Func <Object, Transform, bool, Object> orig, Object original, Transform parent, bool instantiateInWorldSpace) { return(FakePrefab.Instantiate(original, orig(original, parent, instantiateInWorldSpace))); }