Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     sR             = cobra.GetComponent <SpriteRenderer>();
     aS             = this.GetComponent <AudioSource> ();
     cA             = this.gameObject.GetComponent("TriggerFind") as TriggerFind;
     activSomFlauta = false;
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     sR = cobra.GetComponent<SpriteRenderer>();
     aS = this.GetComponent<AudioSource> ();
     cA = this.gameObject.GetComponent("TriggerFind") as TriggerFind;
     activSomFlauta = false;
 }
Ejemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        componentActivator = this.gameObject.GetComponent("TriggerFind") as TriggerFind;

        pc = GameObject.Find ("player").GetComponent<PlayerClimb> ();
        wa = GameObject.Find ("avisoCobra").GetComponent<warningActivit> ();
        /*if(flipImage)
            button.transform.Rotate (Vector3.right);*/
    }
Ejemplo n.º 4
0
    // Use this for initialization
    void Start()
    {
        componentActivator = this.gameObject.GetComponent("TriggerFind") as TriggerFind;

        pc = GameObject.Find("player").GetComponent <PlayerClimb> ();
        wa = GameObject.Find("avisoCobra").GetComponent <warningActivit> ();

        /*if(flipImage)
         *      button.transform.Rotate (Vector3.right);*/
    }