// Use this for initialization void Start() { sR = cobra.GetComponent <SpriteRenderer>(); aS = this.GetComponent <AudioSource> (); cA = this.gameObject.GetComponent("TriggerFind") as TriggerFind; activSomFlauta = false; }
// Use this for initialization void Start() { sR = cobra.GetComponent<SpriteRenderer>(); aS = this.GetComponent<AudioSource> (); cA = this.gameObject.GetComponent("TriggerFind") as TriggerFind; activSomFlauta = false; }
// 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);*/ }
// 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);*/ }