private void ShowActionPoint(ActionPoint actionPoint) { MenuManager.Instance.ActionObjectSettingsMenu.Close(); actionPoint.ShowMenu(); Base.SceneManager.Instance.SetSelectedObject(actionPoint.gameObject); actionPoint.SendMessage("Select"); }
private void ShowActionPoint(ActionPoint actionPoint) { MenuManager.Instance.ActionObjectSettingsMenu.Close(); actionPoint.ShowMenu(); Base.SceneManager.Instance.SetSelectedObject(actionPoint.gameObject); // Select(force = true) to force selection and not losing AP highlight upon EditorSettingsMenu closing actionPoint.SendMessage("Select", true); }
private static void ShowActionPoint(ActionPoint actionPoint) { MenuManager.Instance.ActionObjectMenuProjectEditor.Close(); actionPoint.ShowMenu(true); Scene.Instance.SetSelectedObject(actionPoint.gameObject); actionPoint.SendMessage("Select"); }
private static void ShowActionPoint(ActionPoint actionPoint) { MenuManager.Instance.ActionObjectMenuProjectEditor.Close(); actionPoint.ShowMenu(true); SceneManager.Instance.SetSelectedObject(actionPoint.gameObject); // Select(force = true) to force selection and not losing AP highlight upon ActionObjectMenuProjectEditor menu closing actionPoint.SendMessage("Select", true); }