Esempio n. 1
0
        void OnTriggerEnter(Collider other)
        {
            //DamageCollider dc = other.GetComponent<DamageCollider>();
            //if (dc == null)
            //    return;

            if (states)
            {
                EnemyStates e_st = other.transform.GetComponentInParent <EnemyStates>();

                if (e_st != null)
                {
                    e_st.CheckForParry(transform.root, states);
                }
            }

            if (eStates)
            {
                //check for palyer
            }
        }