示例#1
0
 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();
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     t1 = touchController.GetComponent <TouchController1> ();
 }
示例#3
0
 void Awake()
 {
     t1        = _touchController.GetComponent <TouchController1> ();
     character = GetComponent <PlatformerCharacter2D>();
 }