public override void SelectMe(MapSelectionController selector) { if (isSelected) { return; } frame.gameObject.SetActive(true); isSelected = true; selector.currentMap = this; }
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"); } }
public virtual void SelectMe(MapSelectionController selector) { }