示例#1
0
    public override void FirstLoadLayer()
    {
        AddEvent();

        objHeadLogined.SetActive(false);
        objHeadPrepareLogin.SetActive(true);

        InitListGame();

        //if (lobbyController == null)
        //{
        //    lobbyController = GetComponent<LobbyController>();
        //    lobbyController.Init(this);
        //}

        dataResourceLobby = GetComponent <DataResourceLobby>();
        dataResourceLobby.Init();

        // Get Pass, acount Saved
        GetPassSaveLocal();
    }
示例#2
0
 public void Init()
 {
     instance = this;
     isInit   = true;
 }
示例#3
0
 private void Start()
 {
     dataResourceLobby = GetComponent <DataResourceLobby>();
     dataResourceLobby.Init();
 }