3using System.Collections.Generic;
9 protected override void Start()
14 OnSelectionChanged(
null);
17 public override string tooltip {
get {
return "Duplicate Selection"; } }
21 List<GameObject> newObjects =
new List<GameObject>();
36 private void OnSelectionChanged(IEnumerable<GameObject> go)
static void RegisterStates(IEnumerable< IUndo > targets, string message)
static UnityEngine.GameObject Instantiate(UnityEngine.GameObject original)
static List< GameObject > gameObjects
A list of the currently selected GameObjects.
static void AddOnSelectionChangeListener(Callback< IEnumerable< GameObject > > del)
static void SetSelection(IEnumerable< GameObject > selection)
static GameObject activeGameObject