神岛 API 文档 - ArenaPro版
    Preparing search index...

    Class GameMotionHandler<TargetType>

    游戏动作处理器类,用于控制单个动作序列的播放。

    Game motion handler class, used to control the playback of a single motion sequence.

    Type Parameters

    • TargetType

      动作目标对象的类型。

    Index

    Properties

    cancel: () => void

    取消当前动作播放。

    Cancels the current motion playback.

    下一次动作取消时的未来事件。

    A future event for when the next motion is cancelled.

    下一次动作完成时的未来事件。

    A future event for when the next motion completes.

    当动作被取消时触发的事件。

    Event triggered when the motion is cancelled.

    当动作成功完成时触发的事件。

    Event triggered when the motion successfully completes.

    play: () => void

    开始播放动作。

    Starts playing the motion.

    target: TargetType

    动作目标对象(实体)。

    The target object (entity) of the motion.