Created
April 28, 2015 05:49
-
-
Save YoriKv/3b7f3bd15a8003fd0f0d to your computer and use it in GitHub Desktop.
Unity Editor Script - Make Unprefabbed Clone for creating unlinked copies of a prefab instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MenuItem("Utils/Make Unprefabbed Clone")] | |
static public void CloneDisconnectedPrefab() { | |
foreach(GameObject go in Selection.gameObjects) { | |
Object.Instantiate(go); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment