Exemplo n.º 1
0
    private void Start()
    {
        cloud = GetComponent <SpawnCloud>();

        cycle = GetComponent <Cycle>();

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