diff --git a/cocos/3d/reflection-probe/reflection-probe-manager.ts b/cocos/3d/reflection-probe/reflection-probe-manager.ts index 4938a777ac8..16695e5eefc 100644 --- a/cocos/3d/reflection-probe/reflection-probe-manager.ts +++ b/cocos/3d/reflection-probe/reflection-probe-manager.ts @@ -33,7 +33,6 @@ import { Texture } from '../../gfx'; import { Camera, Model } from '../../render-scene/scene'; import { ProbeType, ReflectionProbe } from '../../render-scene/scene/reflection-probe'; import { Layers } from '../../scene-graph/layers'; -import type { Director } from '../../game/director'; const REFLECTION_PROBE_DEFAULT_MASK = Layers.makeMaskExclude([Layers.BitMask.UI_2D, Layers.BitMask.UI_3D, Layers.BitMask.GIZMOS, Layers.BitMask.EDITOR, Layers.BitMask.SCENE_GIZMO, Layers.BitMask.PROFILER, Layers.Enum.IGNORE_RAYCAST]); diff --git a/cocos/game/director.ts b/cocos/game/director.ts index 510d59b0f80..efa8f7163f6 100644 --- a/cocos/game/director.ts +++ b/cocos/game/director.ts @@ -947,6 +947,7 @@ export declare namespace Director { } cclegacy.Director = Director; +cclegacy.DirectorEvent = DirectorEvent; /** * @en Director of the game, used to control game update loop and scene management