Example #1
0
    private void Start()
    {
        cloud = GetComponent <SpawnCloud>();

        cycle = GetComponent <Cycle>();

        spawnRain = GetComponent <SpawnRain>();
    }
Example #2
0
 void Awake()
 {
     animator  = gameObject.GetComponent <Animator>();
     score     = points.GetComponent <Score>();
     spawnRain = gameObject.GetComponentInChildren <SpawnRain>();
 }