Beispiel #1
0
    //Dispatch Animation Message
    public override void Dispatch_Animation_Message(AnimationMessageType messageType, object messageValue)
    {
        switch (messageType)
        {
        case AnimationMessageType.LookAtTarget:
            aistateMachine.LookAtTarget();
            break;

        case AnimationMessageType.SetBasicMoveMent_ActiveStatu:
            SetBasicMovement_ActiveStatu((bool)messageValue);
            break;

        case AnimationMessageType.SetAnimation_AttackStatue:
            inputClientManager.SetIInputClientAttackStatu((bool)messageValue);
            break;

        default:
            Debug.LogErrorFormat("Message Type {0} is not defined", messageType);
            break;
        }
    }
 public override void Dispatch_Animation_Message(AnimationMessageType messageType, object messageValue)
 {
 }
Beispiel #3
0
 //======================================================================
 //Recive massage from AnimationManager.
 //======================================================================
 public abstract void Dispatch_Animation_Message(AnimationMessageType messageType, object messageValue);
Beispiel #4
0
 //this is used to blending to
 public virtual void Dispatch_Message(AnimationMessageType messageType, object messageValue)
 {
 }