Skip to content

Commit

Permalink
[v3.8.5] Fix cc.DirectorEvent.BEFORE_UPDATE not found (#17983)
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar authored Nov 28, 2024
1 parent 5651f2a commit 42009b8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion cocos/3d/reflection-probe/reflection-probe-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
1 change: 1 addition & 0 deletions cocos/game/director.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42009b8

Please sign in to comment.