Skip to content

Instantly share code, notes, and snippets.

@YoriKv
Created April 28, 2015 05:49
Show Gist options
  • Save YoriKv/3b7f3bd15a8003fd0f0d to your computer and use it in GitHub Desktop.
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
[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