void Start() { t1 = _touchController.GetComponent <TouchController1> (); LeaderBoardWindow = GameObject.Find("Untitled-1") as GameObject; scoreList = LeaderBoardScript.Scores; //scoreList = new List<string>(LeaderBoardScript.Scores); LeaderBoardWindow.SetActive(false); SetScoreOnLeaderBoard(); }
// Use this for initialization void Start() { t1 = touchController.GetComponent <TouchController1> (); }
void Awake() { t1 = _touchController.GetComponent <TouchController1> (); character = GetComponent <PlatformerCharacter2D>(); }