InternalInstantiatePrefab() private static method

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