private void Awake() { logger = LogManager.GetInstance().GetLogger(GetType()); panelManager = GetComponent <PanelManager>(); if (panelManager == null) { Debug.LogError("No PanelManager attached to UIManager. This is B A D"); } mapTouchController = GameObject.Find("MapPlane").GetComponent <MapTouchController>(); Instance = this; }
void Awake() { Instance = this; }