InternalInstantiatePrefab() private static method

private static InternalInstantiatePrefab ( Object target, Scene destinationScene ) : Object
target Object
destinationScene UnityEngine.SceneManagement.Scene
return Object
Example #1
0
 public static UnityEngine.Object InstantiatePrefab(UnityEngine.Object target)
 {
     return(PrefabUtility.InternalInstantiatePrefab(target, SceneManager.GetActiveScene()));
 }
Example #2
0
 public static UnityEngine.Object InstantiatePrefab(UnityEngine.Object target, Scene destinationScene)
 {
     return(PrefabUtility.InternalInstantiatePrefab(target, destinationScene));
 }
Example #3
0
 public static UnityEngine.Object InstantiatePrefab(UnityEngine.Object target)
 {
     return(PrefabUtility.InternalInstantiatePrefab(target, EditorSceneManager.GetTargetSceneForNewGameObjects()));
 }