Extend RuntimeInteractionDispatcher with playAnimation and stopAnimation methods

This commit is contained in:
2026-04-01 00:01:29 +02:00
parent ebf77db1ad
commit 12e675692a

View File

@@ -8,6 +8,8 @@ const DEFAULT_INTERACTABLE_TARGET_RADIUS = 0.75;
export interface RuntimeInteractionDispatcher { export interface RuntimeInteractionDispatcher {
teleportPlayer(target: RuntimeTeleportTarget, link: InteractionLink): void; teleportPlayer(target: RuntimeTeleportTarget, link: InteractionLink): void;
toggleBrushVisibility(brushId: string, visible: boolean | undefined, link: InteractionLink): void; toggleBrushVisibility(brushId: string, visible: boolean | undefined, link: InteractionLink): void;
playAnimation(instanceId: string, clipName: string, link: InteractionLink): void;
stopAnimation(instanceId: string, link: InteractionLink): void;
} }
export interface RuntimeInteractionPrompt { export interface RuntimeInteractionPrompt {