Example #1
0
    public override void SelectMe(MapSelectionController selector)
    {
        if (isSelected)
        {
            return;
        }

        frame.gameObject.SetActive(true);
        isSelected = true;

        selector.currentMap = this;
    }
Example #2
0
    void AttempGoMapSelection()
    {
        if (GameManager.Instance.player_1P_data == null || GameManager.Instance.player_2P_data == null)
        {
            return;
        }

        MapSelectionController mapSelection = FindObjectOfType <MapSelectionController>();

        if (mapSelection)
        {
            mapSelection.heroCanvas.SetActive(false);
            mapSelection.Show();
        }
        else
        {
            Debug.LogError("No Map Selection panel in scene");
        }
    }
Example #3
0
 public virtual void SelectMe(MapSelectionController selector)
 {
 }