void Start() { depositedItems = new List<InventoryItem>(); scorer = FindObjectOfType<SortingGameScorer>(); spawner = FindObjectOfType<SortingGameSpawner>(); }
// Use this for initialization void Start() { spawner = FindObjectOfType<SortingGameSpawner>(); scorer = FindObjectOfType<SortingGameScorer>(); }