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.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
examples(ui): drop the unregistered `Button` component from scenes
yhhb44b4d6edfce
diff --git a/examples/audio-demo/assets/scenes/main.esscene b/examples/audio-demo/assets/scenes/main.essceneindex e56c4a654..0fbf5f691 100644--- a/examples/audio-demo/assets/scenes/main.esscene+++ b/examples/audio-demo/assets/scenes/main.esscene@@ -193,12 +193,6 @@}}},- {- "type": "Button",- "data": {- "state": 0- }- },{"type": "Interactable","data": {}@@ -322,12 +316,6 @@}}},- {- "type": "Button",- "data": {- "state": 0- }- },{"type": "Interactable","data": {}@@ -451,12 +439,6 @@}}},- {- "type": "Button",- "data": {- "state": 0- }- },{"type": "Interactable","data": {}@@ -580,12 +562,6 @@}}},- {- "type": "Button",- "data": {- "state": 0- }- },{"type": "Interactable","data": {}diff --git a/examples/particle-demo/assets/scenes/main.esscene b/examples/particle-demo/assets/scenes/main.essceneindex 307367833..b6ffd8ea4 100644--- a/examples/particle-demo/assets/scenes/main.esscene+++ b/examples/particle-demo/assets/scenes/main.esscene@@ -278,38 +278,6 @@}}},- {- "type": "Button",- "data": {- "state": 0,- "transition": {- "normalColor": {- "r": 0.18,- "g": 0.2,- "b": 0.28,- "a": 0.92- },- "hoveredColor": {- "r": 0.28,- "g": 0.32,- "b": 0.44,- "a": 1- },- "pressedColor": {- "r": 0.12,- "g": 0.14,- "b": 0.2,- "a": 1- },- "disabledColor": {- "r": 0.2,- "g": 0.2,- "b": 0.2,- "a": 1- }- }- }- },{"type": "Interactable","data": {}@@ -425,38 +393,6 @@}}},- {- "type": "Button",- "data": {- "state": 0,- "transition": {- "normalColor": {- "r": 0.18,- "g": 0.2,- "b": 0.28,- "a": 0.92- },- "hoveredColor": {- "r": 0.28,- "g": 0.32,- "b": 0.44,- "a": 1- },- "pressedColor": {- "r": 0.12,- "g": 0.14,- "b": 0.2,- "a": 1- },- "disabledColor": {- "r": 0.2,- "g": 0.2,- "b": 0.2,- "a": 1- }- }- }- },{"type": "Interactable","data": {}diff --git a/examples/ui-controls/assets/scenes/main.esscene b/examples/ui-controls/assets/scenes/main.essceneindex dda263c15..b8efe5758 100644--- a/examples/ui-controls/assets/scenes/main.esscene+++ b/examples/ui-controls/assets/scenes/main.esscene@@ -184,38 +184,6 @@}}},- {- "type": "Button",- "data": {- "state": 0,- "transition": {- "normalColor": {- "r": 0.2,- "g": 0.6,- "b": 1,- "a": 1- },- "hoveredColor": {- "r": 0.2,- "g": 0.6,- "b": 1,- "a": 0.8- },- "pressedColor": {- "r": 0.2,- "g": 0.6,- "b": 1,- "a": 0.6- },- "disabledColor": {- "r": 0.3,- "g": 0.3,- "b": 0.3,- "a": 1- }- }- }- },{"type": "Interactable","data": {}@@ -327,38 +295,6 @@}}},- {- "type": "Button",- "data": {- "state": 0,- "transition": {- "normalColor": {- "r": 0.2,- "g": 0.8,- "b": 0.4,- "a": 1- },- "hoveredColor": {- "r": 0.2,- "g": 0.8,- "b": 0.4,- "a": 0.8- },- "pressedColor": {- "r": 0.2,- "g": 0.8,- "b": 0.4,- "a": 0.6- },- "disabledColor": {- "r": 0.3,- "g": 0.3,- "b": 0.3,- "a": 1- }- }- }- },{"type": "Interactable","data": {}@@ -470,38 +406,6 @@}}},- {- "type": "Button",- "data": {- "state": 0,- "transition": {- "normalColor": {- "r": 0.9,- "g": 0.3,- "b": 0.3,- "a": 1- },- "hoveredColor": {- "r": 0.9,- "g": 0.3,- "b": 0.3,- "a": 0.8- },- "pressedColor": {- "r": 0.9,- "g": 0.3,- "b": 0.3,- "a": 0.6- },- "disabledColor": {- "r": 0.3,- "g": 0.3,- "b": 0.3,- "a": 1- }- }- }- },{"type": "Interactable","data": {}