void Awake() { _ref = GetComponent <CollectableBirdController>(); foreach (var particles in GetComponentsInChildren <ParticleSystem>()) { var main = particles.main; main.startColor = _ref.BirdChannel.BirdColor; } }
void Awake() => _birdController = GetComponent <CollectableBirdController>();