コード例 #1
0
 private void Stop()
 {
     activeOrder = CreepState.Idle;
     legs.Stop();
     targetVictim = null;
     TryFindTarget();
 }
コード例 #2
0
    //
    // IAttackListener
    //

    public void OnLostAppointedTarget()
    {
        if (activeState == PlayerState.Attack)
        {
            activeState = PlayerState.Idle;
            legs.Stop();
        }

        TryFindTarget();
    }