public override void Open(ToolControl control) { if (creatorShortcut) { activatorControl = control; PopupWatcher.Release(window); window = Replacer.Open(targets, activatorControl.activatorScreenPosition); PopupWatcher.Watch(window); } else { base.Open(control); } }
public static void Replace(GameObject[] targets, Rect activatorPosition) { Validate(targets); Replacer.Open(targets, activatorPosition); }