Esempio n. 1
0
 void Start()
 {
     levelPlanner = LevelPlanner.Instance;
     CoinAmount   = 0;
     InitializeCoins();
     InitializeObstacles();
 }
Esempio n. 2
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
     actualRow = GenerateRow();
 }
Esempio n. 3
0
 public void Start()
 {
     runManager   = RunManager.Instance;
     poolMember   = GetComponent <PoolMember>();
     levelPlanner = LevelPlanner.Instance;
 }