예제 #1
0
 // Use this for initialization
 void Start()
 {
     m_houseAct            = false;
     m_arcadeAct           = false;
     m_schoolAct           = false;
     m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle;
 }
예제 #2
0
    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;
    }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     m_spaceAct            = false;
     m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle;
     //StartCoroutine(textBox(m_text[m_indexImage]));
 }
예제 #4
0
 void Start()
 {
     m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle;
 }
예제 #5
0
 private void Start()
 {
     m_text                = GameObject.FindGameObjectWithTag("Text").GetComponent <Text>();
     m_GCScript            = FindObjectOfType(typeof(_GC)) as _GC;
     m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle;
 }
예제 #6
0
 void Start()
 {
     m_body                = GetComponent <Rigidbody2D>();
     m_Transform           = GetComponent <Transform>();
     m_IdentificarControle = FindObjectOfType(typeof(IdentificarControle)) as IdentificarControle;
 }