using System.Collections; using System.Collections.Generic; using UnityEngine; public class MainMenu : MonoBehaviour { //Connections [Header("Connections")] public GameObject Menu; //Prefabs //[Header("Prefabs")] //Attributes //[Header("Attributes")] //Stats //[Header("Stats")] //Getter //Delegates //------------------------------------------------------------------------------------------------------------------ //awake protected void Awake() { } //------------------------------------------------------------------------------------------------------------------ //start protected void Start() { } //------------------------------------------------------------------------------------------------------------------ //setup public void StartStop(bool doStart) { if(doStart) { //Start Debug.LogWarning("Starting MainMenu"); Menu.SetActive(true); } else { //Stop Debug.LogWarning("Stopping MainMenu"); Menu.SetActive(false); } } //------------------------------------------------------------------------------------------------------------------ //destroy //*********************************************************************************************************************** //update //*********************************************************************************************************************** //refresh //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //events public void OnClickOpenImgDirectory() { Debug.LogWarning("Clicked on OpenImgDir"); } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //private, protected //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //internal //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //public static //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //public //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ //*********************************************************************************************************************** //getter, setter //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ }