예제 #1
0
 private void Awake()
 {
     m_dXT3R             = GetComponent <DXT3R>();
     m_havocMovement     = GetComponent <HavocMovement>();
     m_havocAnimator     = GetComponent <HavocAnimator>();
     m_audioSource       = GetComponent <AudioSource>();
     m_canDashFromCharge = true;
 }
예제 #2
0
    private void Update()
    {
        float y     = transform.position.y;
        DXT3R dXT3R = HavocInc.Instance.CurrentTester;

        if (dXT3R)
        {
            if (dXT3R.transform.position.y > y)
            {
                m_spriteRenderer.sortingOrder = m_zIndexInFront;
            }
            else
            {
                m_spriteRenderer.sortingOrder = m_zIndexNormal;
            }
        }
    }
예제 #3
0
 void Awake()
 {
     m_dxt3R         = GetComponent <DXT3R>();
     m_havocMovement = GetComponent <HavocMovement>();
     m_animator      = GetComponent <Animator>();
 }