コード例 #1
0
 private void ShowActionPoint(ActionPoint actionPoint)
 {
     MenuManager.Instance.ActionObjectSettingsMenu.Close();
     actionPoint.ShowMenu();
     Base.SceneManager.Instance.SetSelectedObject(actionPoint.gameObject);
     actionPoint.SendMessage("Select");
 }
コード例 #2
0
 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);
 }
コード例 #3
0
    private static void ShowActionPoint(ActionPoint actionPoint)
    {
        MenuManager.Instance.ActionObjectMenuProjectEditor.Close();
        actionPoint.ShowMenu(true);

        Scene.Instance.SetSelectedObject(actionPoint.gameObject);
        actionPoint.SendMessage("Select");
    }
コード例 #4
0
    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);
    }