private void Start() { cloud = GetComponent <SpawnCloud>(); cycle = GetComponent <Cycle>(); spawnRain = GetComponent <SpawnRain>(); }
void Awake() { animator = gameObject.GetComponent <Animator>(); score = points.GetComponent <Score>(); spawnRain = gameObject.GetComponentInChildren <SpawnRain>(); }