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); }
void OnServerNew(Server_New e) { StartTutorials("ServerDetails", "ServerUpgrade", "DragClient"); }
private void Awake() { Instance = this; GetAdID(); retryButton.AddClickEvent(OnRetryButtonClick); }