void SelectedUnitButton_Tapped(GameObject selectedUnitButton) { StartMissionPanel startMissionPanelScript = this.tcScript.startMissionPanel.GetComponent <StartMissionPanel> (); startMissionPanelScript.HidePanel(); HidePanel(); tcScript.ShowUnitSelectionPanel(); }
public void MercsButton_Tapped() { tcScript.PlayUIAudioClip(); tcScript.ShowUnitSelectionPanel(); tcScript.unitSelectionPanel.transform.SetAsLastSibling(); tcScript.navbarPanel.transform.SetAsLastSibling(); }