Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        if( instance == null )
            instance = this;

        deathTriggerScript = deathTrigger.GetComponent<DeathTriggerScript>();
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     instance = this;
     ballSpawnerScript = ballSpawner.GetComponent<BallSpawnerScript>();
 }