private static void Replace(MenuCommand menuCommand) { var targets = GetTargets(menuCommand); if (enqueuedMultiTargetsCommand) { return; } enqueuedMultiTargetsCommand = true; GuiCallback.Enqueue(() => { GameObjectOperations.Replace(targets, activatorPosition); enqueuedMultiTargetsCommand = false; }); }
private static void Replace(MenuCommand menuCommand) { var targets = GetTargets(menuCommand); GuiCallback.Enqueue(() => { GameObjectOperations.Replace(targets, activatorPosition); }); }