void addToCollectableList(HawkCollectable collectable) { spawnedCollectables.Add(collectable); }
void removeFromCollectableList(HawkCollectable collectable) { spawnedCollectables.Remove(collectable); }
public void makeDebuff(HawkBrick brick) { HawkCollectable prefab = availableDeBuffs[Random.Range(0, availableDeBuffs.Count)]; addToCollectableList(Instantiate(prefab, brick.transform.position, Quaternion.identity) as HawkCollectable); }