Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

test(components): the FieldMeta golden carries Light2D.drawEnvironment

esenginef8ae375bad9b
diff --git a/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap b/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
index 37cb63d77..4d3a7bb5c 100644
--- a/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
+++ b/sdk/tests/__snapshots__/component-fieldmeta-golden.test.ts.snap
@@ -169,6 +169,9 @@ exports[`builtin FieldMeta (RC9-1 equivalence gate) > matches the golden snapsho
"advanced": true,
"tooltip": "Aim depth (Directional): -1 shines into the screen.",
},
+ "drawEnvironment": {
+ "tooltip": "Draw this environment as the sky behind the scene.",
+ },
"environment": {
"tooltip": "Baked environment (.esenv) this Ambient light casts.",
},