public void AttackFinished() { m_hasAttacked = true; //DO NOT ALLOW MOVE AFTER ATTACK m_hasMoved = true; UpdateButtonStatus(); if(m_active) GetComponent<UnitGUIController>().EnableGUI(); }