Пример #1
0
    // Use this for initialization
    void Start()
    {
        score = 0;
        correctCount = 0;
        incorrectCount = 0;
        missedCount = 0;

        spawner = FindObjectOfType<SortingGameSpawner>();

        UpdateRemainingCount();
    }
Пример #2
0
 void Start()
 {
     depositedItems = new List<InventoryItem>();
     scorer = FindObjectOfType<SortingGameScorer>();
     spawner = FindObjectOfType<SortingGameSpawner>();
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     spawner = FindObjectOfType<SortingGameSpawner>();
     scorer = FindObjectOfType<SortingGameScorer>();
 }