public override void Absorb(Resource resource) { base.Absorb(resource); if (ResourcesAbsorbed.Contains(Resource.Money)) { ResourcesAbsorbed.Remove(Resource.Money); ResourcesAbsorbed.TrimExcess(); var go = Instantiate(seedPrefab, null); go.transform.position = this.transform.position; go.transform.DOMove(spawnHere.transform.position, 0.3f); } }