학습 목표

Let’s go, move! (뛰어!)

학습 내용

Editor & Rendering (눈에 보이는 세상)

struct FAnimNotifyEvent
{
    float TriggerTime;
    float Duration;
    FName NotifyName;
};

class UAnimSequenceBase
{
    TArray<struct FAnimNotifyEvent> Notifies;
    ...
};

class UAnimInstance
{
    void TriggerAnimNotifies(float DeltaSeconds);
    ...
};

class USkeletalMeshComponent
{
    void HandleAnimNotify(const FAnimNotifyEvent& Notify)
    {
        Owner->HandleAnimNotify(Notify);
    }
};

class ACharacter  : public APawn
{
    void HandleAnimNotify(const FAnimNotifyEvent& Notify)
    {
        switch(Notify.NotifyName)
        {
            case NAME_Shoot :
                TriggerFire();
                break;
        }
    }
};

Engine Core (눈에 안 보이는 세상)