// Use this for initialization void Start() { m_houseAct = false; m_arcadeAct = false; m_schoolAct = false; m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle; }
void Start() { m_body = GetComponent <Rigidbody2D>(); m_animator = GetComponent <Animator>(); m_sprite = GetComponent <SpriteRenderer>(); m_spriteLife = m_ObjSpriteLife.GetComponent <SpriteRenderer>(); m_playerAudioSource = GetComponent <AudioSource>(); m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle; m_balao.SetActive(false); m_Blink = GetComponent <Blink>(); m_life = 3; }
// Use this for initialization void Start() { m_spaceAct = false; m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle; //StartCoroutine(textBox(m_text[m_indexImage])); }
void Start() { m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle; }
private void Start() { m_text = GameObject.FindGameObjectWithTag("Text").GetComponent <Text>(); m_GCScript = FindObjectOfType(typeof(_GC)) as _GC; m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle; }
void Start() { m_body = GetComponent <Rigidbody2D>(); m_Transform = GetComponent <Transform>(); m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle; }