CreatePrefab() 개인적인 메소드

private CreatePrefab ( string path, GameObject go ) : GameObject
path string
go UnityEngine.GameObject
리턴 UnityEngine.GameObject
예제 #1
0
        public static GameObject CreatePrefab(string path, GameObject go)
        {
            ReplacePrefabOptions options = ReplacePrefabOptions.Default;

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