示例#1
0
    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;
    }
示例#2
0
 void Awake()
 {
     Instance = this;
 }