UnitController.AttackFinished C# (CSharp) Method

AttackFinished() public method

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