Пример #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);*/
    }