// Use this for initialization void Start() { GameObject.Find ("sim").GetComponent<BoxCollider2D>().enabled = false; GameObject.Find ("nao").GetComponent<BoxCollider2D>().enabled = false; timer[3] = 5f; start = false; cmt_plr = GameObject.FindGameObjectWithTag("Player").GetComponent<ComunicationAndStatusPlayer>(); plr_mov = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerMove>(); npc_mov = GameObject.Find("NPCF").GetComponent<NPCMove>(); cam = GameObject.Find ("Main Camera").GetComponent<CamControl> (); cam_size = GameObject.Find ("Main Camera").GetComponent<Camera> (); }
// Use this for initialization void Start() { plr_mov = GameObject.FindGameObjectWithTag ("Player").GetComponent<PlayerMove> (); plr_cmt = GameObject.FindGameObjectWithTag ("Player").GetComponent<ComunicationAndStatusPlayer> (); cam = GameObject.Find ("Main Camera").GetComponent<CamControl> (); }
// Use this for initialization void Start() { plr_bln = GameObject.FindGameObjectWithTag("Player").GetComponent<ComunicationAndStatusPlayer>(); Force = 150f; }
// Use this for initialization void Start() { cmc_plr = GameObject.FindGameObjectWithTag("Player").GetComponent<ComunicationAndStatusPlayer>(); plr_mov = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerMove>(); }
// Use this for initialization void Start() { // Inicializando Valor Das Variaveis Publicas Somente Para Comunicaçao (assim evitando erros) comunication = false; start_dial = false; // cores this.gameObject.GetComponent<SpriteRenderer> ().color = new Color (Random.Range(0,1f),Random.Range(0,1f),Random.Range(0,1f)); // Importanto Componentes (<Scripts>,<SpriteRenderer>) plr_spr = GameObject.FindGameObjectWithTag("plr_bln").GetComponent<SpriteRenderer>(); plr_bln = GameObject.FindGameObjectWithTag("Player").GetComponent<ComunicationAndStatusPlayer>(); plr_mov = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerMove>(); cntrl = GameObject.Find("Main Camera").GetComponent<CamControl>(); kpt_cool = GameObject.FindGameObjectWithTag("Player").GetComponent<KeepinItCool>(); //anima = GetComponent<NPCAnim>(); }
// Use this for initialization void Start() { cmc = GameObject.FindGameObjectWithTag ("Player").GetComponent<ComunicationAndStatusPlayer> (); }
//NPCAnim anima; //CutSceneControl cntrl; // Use this for initialization void Start() { // Inicializando Valor Das Variaveis Publicas Somente Para Comunicaçao (assim evitando erros) comunication = false; start_dial = false; // Importanto Componentes (<Scripts>,<SpriteRenderer>) plr_spr = GameObject.FindGameObjectWithTag("plr_bln").GetComponent<SpriteRenderer>(); plr_bln = GameObject.FindGameObjectWithTag("Player").GetComponent<ComunicationAndStatusPlayer>(); plr_mov = GameObject.FindGameObjectWithTag("Player").GetComponent<PlayerMove>(); //cntrl = GameObject.Find ("Main Camera").GetComponent<CutSceneControl> (); //anima = GetComponent<NPCAnim>(); }
// Use this for initialization void Start() { plr_cm = GameObject.FindGameObjectWithTag ("Player").GetComponent<ComunicationAndStatusPlayer>(); kptc = GameObject.FindGameObjectWithTag ("Player").GetComponent<KeepinItCool>(); //cam = GameObject.Find("Main Camera").GetComponent<CamControl>(); }