// Use this for initialization // ReSharper disable once UnusedMember.Local void Start() { Instance = gameObject; //_loaderImage = GameObject.Find("LoaderImage"); //_levelText = GameObject.Find("LevelText").GetComponent<Text>(); GameBoard.enabled = false; ActionBoard.enabled = true; ActionPanelScrollbar.value = 0; BuildingPanelScrollbar.value = 0; ResizeBuildingPanel(); InitBuildingTiles(); //after everything is set up, THEN start game ClientSocket = UIScripts.ClientSocket.Instance; ClientSocket.StartGame(1); }