예제 #1
0
        void OnNewServer(Server_New e)
        {
            var view = ObjectPool.Spawn(ServerViewPrefab, new Vector3(e.PosX, 0, e.PosY));

            view.Init(e.Id);
            view.SetSelected(false);
            view.SetBreaked(false);
            _views.Add(e.Id, view);
        }
예제 #2
0
 void OnServerNew(Server_New e)
 {
     StartTutorials("ServerDetails", "ServerUpgrade", "DragClient");
 }
예제 #3
0
 private void Awake()
 {
     Instance = this;
     GetAdID();
     retryButton.AddClickEvent(OnRetryButtonClick);
 }