示例#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;
 }
示例#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;
 }
示例#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);*/
    }
示例#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);*/
    }