CreatePrefab() private méthode

private CreatePrefab ( string path, GameObject go ) : GameObject
path string
go UnityEngine.GameObject
Résultat UnityEngine.GameObject
        public static GameObject CreatePrefab(string path, GameObject go)
        {
            ReplacePrefabOptions options = ReplacePrefabOptions.Default;

            return(PrefabUtility.CreatePrefab(path, go, options));
        }