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
docs: the agent pictures, the entity-creation path and the tilemap mode wording
yhh7243e282e961
diff --git a/docs/astro/src/assets/guides/en/agent-preview.png b/docs/astro/src/assets/guides/en/agent-preview.pngindex 8be44f690..197e7a9a5 100644Binary files a/docs/astro/src/assets/guides/en/agent-preview.png and b/docs/astro/src/assets/guides/en/agent-preview.png differdiff --git a/docs/astro/src/assets/guides/en/agent-turn.png b/docs/astro/src/assets/guides/en/agent-turn.pngindex 804f00047..496bf3aa1 100644Binary files a/docs/astro/src/assets/guides/en/agent-turn.png and b/docs/astro/src/assets/guides/en/agent-turn.png differdiff --git a/docs/astro/src/assets/guides/zh/agent-preview.png b/docs/astro/src/assets/guides/zh/agent-preview.pngindex 2711a38ff..866a769cf 100644Binary files a/docs/astro/src/assets/guides/zh/agent-preview.png and b/docs/astro/src/assets/guides/zh/agent-preview.png differdiff --git a/docs/astro/src/assets/guides/zh/agent-turn.png b/docs/astro/src/assets/guides/zh/agent-turn.pngindex 649d7f204..c46dbf3fd 100644Binary files a/docs/astro/src/assets/guides/zh/agent-turn.png and b/docs/astro/src/assets/guides/zh/agent-turn.png differdiff --git a/docs/astro/src/content/docs/agents/built-in.mdx b/docs/astro/src/content/docs/agents/built-in.mdxindex 9a7ece4a9..06365f5f9 100644--- a/docs/astro/src/content/docs/agents/built-in.mdx+++ b/docs/astro/src/content/docs/agents/built-in.mdx@@ -21,7 +21,7 @@ your Undo takes them back, and you can take the mouse at any moment.The editor ships no key and calls nothing on its own. Open **Settings ▸ Editor ▸ Tools and AI ▸ AI Agents**and configure one provider — that is the whole setup.-+<Steps>diff --git a/docs/astro/src/content/docs/animation/dragonbones.mdx b/docs/astro/src/content/docs/animation/dragonbones.mdxindex d2b42c136..6eaac06cd 100644--- a/docs/astro/src/content/docs/animation/dragonbones.mdx+++ b/docs/astro/src/content/docs/animation/dragonbones.mdx@@ -41,7 +41,7 @@ You do not need to reference it anywhere.## The `DragonBonesAnimation` component-Add it with **Create → DragonBones**, or add the component to an existing entity.+Add it with **+ Add → Create entity… → DragonBones**, or add the component to an existing entity.It lives in the main `esengine` package.diff --git a/docs/astro/src/content/docs/assets/models.mdx b/docs/astro/src/content/docs/assets/models.mdxindex 8458818fb..8450c4a88 100644--- a/docs/astro/src/content/docs/assets/models.mdx+++ b/docs/astro/src/content/docs/assets/models.mdx@@ -18,7 +18,7 @@ That import is the subject of this page. For the component that draws the result## Built-in primitives-Seven shapes need no import and no file. **Create → Cube** (or Sphere, Capsule, Cylinder,+Seven shapes need no import and no file. **+ Add → Create entity… → Cube** (or Sphere, Capsule, Cylinder,Cone, Plane, Quad) makes an entity whose `MeshRenderer.mesh` holds a `builtin:` ref, and thesame seven appear at the top of the picker on any `MeshRenderer.mesh` field.@@ -44,7 +44,7 @@ they stay two-sided and are still there when seen from behind.<Aside type="caution" title="A lit mesh needs a light">Primitives are created `lit`, like imported geometry carrying normals. Lighting ismultiplicative and starts at zero, so a scene with no `Light` in it draws them black —-**Create → Sun** adds the directional key light a shaded scene wants. Clearing `lit` gives+**+ Add → Create entity… → Sun** adds the directional key light a shaded scene wants. Clearing `lit` givesthe flat, unshaded look instead.</Aside>diff --git a/docs/astro/src/content/docs/editor/asset-editors.mdx b/docs/astro/src/content/docs/editor/asset-editors.mdxindex 4c112811b..e11f05ab7 100644--- a/docs/astro/src/content/docs/editor/asset-editors.mdx+++ b/docs/astro/src/content/docs/editor/asset-editors.mdx@@ -1,12 +1,12 @@---title: Asset editors-description: "The document editors behind a double-click: the Sequencer, the tilemap painter, the tileset editor, and the state-machine, behavior-tree and material graphs."+description: "The document editors behind a double-click: the Sequencer, tilemap mode, the tileset editor, and the state-machine, behavior-tree and material graphs."---Double-click an asset in the Content Browser to open its editor in a document tab.- **Sequencer** — a timeline / curve editor for keyframe animation. See[Timeline](/docs/animation/timeline/).-- **Tilemap painter** — tools for **brush, erase, rectangle, line, bucket, select,+- **Tilemap mode** — a **Tile Palette** panel beside the Content Browser, with tools in the viewport toolbar for **brush, erase, rectangle, line, bucket, select,eyedropper**, and **terrain (autotile)**, plus stamp **flip-H / flip-V / rotate-90°**(`H` / `V` / `R` while a paint tool is active) and a **random-scatter mode** (`D`). Thepalette selects with the arrow keys (`Shift` grows a multi-tile stamp), and maps candiff --git a/docs/astro/src/content/docs/editor/overview.mdx b/docs/astro/src/content/docs/editor/overview.mdxindex 3622a60bb..47e14069c 100644--- a/docs/astro/src/content/docs/editor/overview.mdx+++ b/docs/astro/src/content/docs/editor/overview.mdx@@ -70,7 +70,7 @@ back to.<LinkCard title="Building a scene" href="/docs/editor/scenes/" description="Creating entities, the World Outliner, and the Details inspector." /><LinkCard title="The Content Browser" href="/docs/editor/content-browser/" description="Creating and importing assets, and finding what references them." /><LinkCard title="Play in the editor" href="/docs/editor/play/" description="Running the game in an isolated realm, and autosave recovery." />- <LinkCard title="Asset editors" href="/docs/editor/asset-editors/" description="The Sequencer, tilemap painter, tileset editor and node graphs." />+ <LinkCard title="Asset editors" href="/docs/editor/asset-editors/" description="The Sequencer, tilemap mode, tileset editor and node graphs." /><LinkCard title="Project settings" href="/docs/editor/settings/" description="Editor preferences and the settings saved into your project." /><LinkCard title="Keyboard shortcuts" href="/docs/editor/shortcuts/" description="Every default binding, and the Command Palette." /></CardGrid>diff --git a/docs/astro/src/content/docs/editor/scenes.mdx b/docs/astro/src/content/docs/editor/scenes.mdxindex c507ddb43..2bfa5facf 100644--- a/docs/astro/src/content/docs/editor/scenes.mdx+++ b/docs/astro/src/content/docs/editor/scenes.mdx@@ -6,8 +6,8 @@ description: "Creating entities, the World Outliner, and the Details inspectorThere are several ways to add an entity:-- **Entity → Add Entity** (or the toolbar) drops a blank Transform entity.-- **Create…** opens a command-palette that spawns entities: the built-ins — **Empty**,+- **Entity → Add Entity** drops a blank Transform entity.+- **+ Add → Create entity…** opens a command-palette that spawns entities: the built-ins — **Empty**,**Sprite**, **Camera**, **Particles**, **Light**, **Tilemap**, **Spine**, **Audio**,**Text**, **Shape**, **Mesh**, **Trail**, and the **UI** widgets (Canvas pluscontrols) — **your own project components**, and any **`.esprefab` prefab** in thediff --git a/docs/astro/src/content/docs/editor/viewport.mdx b/docs/astro/src/content/docs/editor/viewport.mdxindex 1c7d532b5..36e6b7f87 100644--- a/docs/astro/src/content/docs/editor/viewport.mdx+++ b/docs/astro/src/content/docs/editor/viewport.mdx@@ -106,7 +106,7 @@ The Activity Bar's first four icons switch the **editing mode** — **Tilemap**,or **Scene**. The mode also *follows your selection*: pick a `Canvas` or `UINode` and theeditor suggests **UI** mode, a `TilemapLayer` suggests **Tilemap** — switching that mode'stools and viewport aids **without** disturbing your panel layout. To open a mode's-companion panels (UI Widgets, the Tilemap painter), click its Activity Bar icon or the+companion panels (UI Widgets, the Tile Palette), click its Activity Bar icon or theviewport's mode chip; that also **pins** the mode as a sticky lock that ordinary selectionclicks won't clear — re-click it to go back to following the selection.diff --git a/docs/astro/src/content/docs/gameplay/markers.mdx b/docs/astro/src/content/docs/gameplay/markers.mdxindex 53d3812b4..c98325684 100644--- a/docs/astro/src/content/docs/gameplay/markers.mdx+++ b/docs/astro/src/content/docs/gameplay/markers.mdx@@ -47,8 +47,7 @@ app.addPlugin(new Physics2DPlugin('physics.js'));## Place one in the editor-**Create → Common → Marker** drops a named point at the scene origin; **Create →-Physics → Trigger Area** drops a sensor region (Transform + static RigidBody2D + sensor+**+ Add → Create entity… → Common → Marker** drops a named point at the scene origin; **+ Add → Create entity… → Physics → Trigger Area** drops a sensor region (Transform + static RigidBody2D + sensorBoxCollider2D + Marker). A Marker shows a **pin gizmo** in the viewport; a Trigger Areaalso draws its collider outline, which you shape with the same[collider gizmo](/docs/gameplay/physics/) as any other body.diff --git a/docs/astro/src/content/docs/graphics/sprites.mdx b/docs/astro/src/content/docs/graphics/sprites.mdxindex 6e9467162..a789a376d 100644--- a/docs/astro/src/content/docs/graphics/sprites.mdx+++ b/docs/astro/src/content/docs/graphics/sprites.mdx@@ -476,7 +476,7 @@ picking for you (see [UI](/docs/ui/overview/)).## In the editor-- **Create → Sprite** adds a sprite entity, or **drag an image** from the Content+- **+ Add → Create entity… → Sprite** adds a sprite entity, or **drag an image** from the ContentBrowser into the viewport to spawn one already textured.- Every field above is editable in **Details**; sprites, cameras, and lights show asgizmos in the viewport. See [The Editor](/docs/editor/overview/).diff --git a/docs/astro/src/content/docs/index.mdx b/docs/astro/src/content/docs/index.mdxindex e8404ff24..18adf6695 100644--- a/docs/astro/src/content/docs/index.mdx+++ b/docs/astro/src/content/docs/index.mdx@@ -32,7 +32,7 @@ import { Card, CardGrid, LinkCard } from '@astrojs/starlight/components';An Entity-Component-System core with a single cache-friendly storage layer.</Card><Card title="Visual editor" icon="pencil">- A UE5-style editor — scene viewport, inspector, tilemap painter, Sequencer, and+ A UE5-style editor — scene viewport, inspector, tilemap mode, Sequencer, andnode-graph editors for materials and AI.</Card><Card title="Batteries included" icon="star">diff --git a/docs/astro/src/content/docs/ui/overview.mdx b/docs/astro/src/content/docs/ui/overview.mdxindex 0061cc2e4..748ea6a88 100644--- a/docs/astro/src/content/docs/ui/overview.mdx+++ b/docs/astro/src/content/docs/ui/overview.mdx@@ -215,7 +215,7 @@ parts — the clipped box, the oversized child — without the one fact that it<Aside type="note">A viewport needs `UIMask` to clip and `Interactable` to receive the pointer. The editor's- **Create → ScrollView** gives you all three already assembled.+ **+ Add → Create entity… → ScrollView** gives you all three already assembled.</Aside>## Editor or codediff --git a/docs/astro/src/content/docs/ui/widgets.mdx b/docs/astro/src/content/docs/ui/widgets.mdxindex ff354c0e1..874fb3961 100644--- a/docs/astro/src/content/docs/ui/widgets.mdx+++ b/docs/astro/src/content/docs/ui/widgets.mdx@@ -487,7 +487,7 @@ const stick = createVirtualJoystick({ world, parent: canvas, inputId: 'move',const actions = defineInputMap({ Move: Axis2D(Virtual('move')) });```-The editor's Create → UI palette includes the same generated prefab. Mouse drag+The editor's Create entity picker's UI category includes the same generated prefab. Mouse dragin Play uses the same capture as touch. Disable, hide, remove, cancel or backgrounda control to release its own contribution; other controls keep their outputs.Custom base/handle visuals are supported.diff --git a/docs/astro/src/content/docs/world/prefabs.mdx b/docs/astro/src/content/docs/world/prefabs.mdxindex 7b2912e9b..6f89d348a 100644--- a/docs/astro/src/content/docs/world/prefabs.mdx+++ b/docs/astro/src/content/docs/world/prefabs.mdx@@ -21,7 +21,7 @@ Right-click an entity in the **World Outliner → Create Prefab**. The editor exentity and its whole subtree into `assets/prefabs/<Name>.esprefab` (named after the entity)and leaves your scene untouched — the originals stay put; they aren't swapped for aninstance. To place instances, drag the `.esprefab` from the Content Browser into the scene,-or spawn it from the **Create → Prefabs** category.+or spawn it from the **+ Add → Create entity… → Prefabs** category.<Aside type="note">If the subtree references entities *outside* the selection, the editor asks firstdiff --git a/docs/astro/src/content/docs/zh-cn/agents/built-in.mdx b/docs/astro/src/content/docs/zh-cn/agents/built-in.mdxindex 304d990c9..8611bc213 100644--- a/docs/astro/src/content/docs/zh-cn/agents/built-in.mdx+++ b/docs/astro/src/content/docs/zh-cn/agents/built-in.mdx@@ -20,7 +20,7 @@ import { Aside, Steps } from '@astrojs/starlight/components';编辑器不附带任何密钥,也不会自己发起任何调用。打开**设置 ▸ 编辑器 ▸ 工具与 AI ▸ AI 代理**,配好一个提供方,配置就算做完了。-+<Steps>diff --git a/docs/astro/src/content/docs/zh-cn/assets/models.mdx b/docs/astro/src/content/docs/zh-cn/assets/models.mdxindex 3382b14fe..52e459277 100644--- a/docs/astro/src/content/docs/zh-cn/assets/models.mdx+++ b/docs/astro/src/content/docs/zh-cn/assets/models.mdx@@ -15,7 +15,7 @@ import { Aside } from '@astrojs/starlight/components';## 内置图元-有七个形状不需要导入、也不需要文件。**Create → Cube**(以及 Sphere、Capsule、Cylinder、+有七个形状不需要导入、也不需要文件。**+ 添加 → 创建实体… → Cube**(以及 Sphere、Capsule、Cylinder、Cone、Plane、Quad)建出的实体,其 `MeshRenderer.mesh` 里放的是一个 `builtin:` 引用;同样这七个也排在任何 `MeshRenderer.mesh` 字段选择器的最前面。@@ -38,7 +38,7 @@ Transform 给,和导入的模型一样。<Aside type="caution" title="被照亮的 mesh 需要一盏灯">图元建出来时是 `lit` 的,和带法线的导入几何一样。光照是乘性的、从零起算,所以场景里没有-`Light` 时它们画出来是黑的 —— **Create → Sun** 会加上一盏有阴影场景想要的平行主光。+`Light` 时它们画出来是黑的 —— **+ 添加 → 创建实体… → Sun** 会加上一盏有阴影场景想要的平行主光。把 `lit` 关掉则得到不受光的平涂外观。</Aside>diff --git a/docs/astro/src/content/docs/zh-cn/editor/asset-editors.mdx b/docs/astro/src/content/docs/zh-cn/editor/asset-editors.mdxindex 25a100ba9..62f189f65 100644--- a/docs/astro/src/content/docs/zh-cn/editor/asset-editors.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/asset-editors.mdx@@ -1,11 +1,11 @@---title: 专用编辑器-description: "双击资产打开的各个文档编辑器:Sequencer、瓦片画笔、图块集编辑器,以及状态机、行为树与材质图。"+description: "双击资产打开的各个文档编辑器:Sequencer、瓦片地图模式、图块集编辑器,以及状态机、行为树与材质图。"---在内容浏览器里双击一个资产,即可在文档标签里打开它的编辑器。- **Sequencer** — 关键帧动画的时间轴/曲线编辑器。见 [时间轴](/docs/zh-cn/animation/timeline/)。-- **瓦片地图画笔** — **画笔、擦除、矩形、直线、油漆桶、选区、吸管**和**地形(autotile)**等工具,+- **瓦片地图模式** — 内容浏览器旁的**瓦片调色板**面板,视口工具栏里有**画笔、擦除、矩形、直线、油漆桶、选区、吸管**和**地形(autotile)**等工具,外加图章 **水平翻转 / 垂直翻转 / 旋转 90°**(画笔工具激活时按 `H` / `V` / `R`)和一个**随机散布模式**(`D`)。调色板用方向键选择(`Shift` 扩成多瓦片图章),地图可以是**正交、等距、交错或六边形**。见 [瓦片地图](/docs/zh-cn/world/tilemaps/)。diff --git a/docs/astro/src/content/docs/zh-cn/editor/overview.mdx b/docs/astro/src/content/docs/zh-cn/editor/overview.mdxindex 0d3feedec..5a026413a 100644--- a/docs/astro/src/content/docs/zh-cn/editor/overview.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/overview.mdx@@ -65,7 +65,7 @@ Estella 编辑器是一个桌面应用(Electron + React),带 UE5 风格的**可<LinkCard title="搭建场景" href="/docs/zh-cn/editor/scenes/" description="创建实体、World Outliner,以及 Details 检视器。" /><LinkCard title="内容浏览器" href="/docs/zh-cn/editor/content-browser/" description="新建与导入资产,以及查找谁引用了它们。" /><LinkCard title="编辑器内运行" href="/docs/zh-cn/editor/play/" description="在隔离 realm 里运行游戏,以及自动保存恢复。" />- <LinkCard title="专用编辑器" href="/docs/zh-cn/editor/asset-editors/" description="Sequencer、瓦片画笔、图块集编辑器与节点图。" />+ <LinkCard title="专用编辑器" href="/docs/zh-cn/editor/asset-editors/" description="Sequencer、瓦片地图模式、图块集编辑器与节点图。" /><LinkCard title="项目设置" href="/docs/zh-cn/editor/settings/" description="编辑器偏好,以及写进项目文件的设置。" /><LinkCard title="键盘快捷键" href="/docs/zh-cn/editor/shortcuts/" description="全部默认绑定,以及命令面板。" /></CardGrid>diff --git a/docs/astro/src/content/docs/zh-cn/editor/scenes.mdx b/docs/astro/src/content/docs/zh-cn/editor/scenes.mdxindex a5e0f6d89..4072a44e3 100644--- a/docs/astro/src/content/docs/zh-cn/editor/scenes.mdx+++ b/docs/astro/src/content/docs/zh-cn/editor/scenes.mdx@@ -6,8 +6,8 @@ description: "创建实体、World Outliner,以及 Details 检视器——含它有好几种加实体的方式:-- **实体 → 添加实体**(或工具栏)放下一个空白 Transform 实体。-- **创建…** 打开一个生成实体的命令面板:内置类型——**空**、**精灵**、**相机**、**粒子**、+- **实体 → 添加实体**放下一个空白 Transform 实体。+- **+ 添加 → 创建实体…** 打开一个生成实体的命令面板:内置类型——**空**、**精灵**、**相机**、**粒子**、**光**、**瓦片地图**、**Spine**、**音频**、**文本**、**形状**、**网格**、**拖尾**,以及**UI** 控件(画布加控件)——**你自己项目里定义的组件**,还有项目中任意 **`.esprefab` 预制体**。所有创建入口(此菜单、拖拽、自动化接口)都走同一条管线,因此每次生成都是一步撤销。diff --git a/docs/astro/src/content/docs/zh-cn/gameplay/markers.mdx b/docs/astro/src/content/docs/zh-cn/gameplay/markers.mdxindex cefa4c4fb..cf09aee47 100644--- a/docs/astro/src/content/docs/zh-cn/gameplay/markers.mdx+++ b/docs/astro/src/content/docs/zh-cn/gameplay/markers.mdx@@ -42,7 +42,7 @@ app.addPlugin(new Physics2DPlugin('physics.js'));## 在编辑器里放置-**Create → Common → Marker** 在场景原点放一个命名点;**Create → Physics → Trigger Area**+**+ 添加 → 创建实体… → Common → Marker** 在场景原点放一个命名点;**+ 添加 → 创建实体… → Physics → Trigger Area**放一块传感区域(Transform + 静态 RigidBody2D + 传感器 BoxCollider2D + Marker)。Marker 在视口里显示一个**图钉 gizmo**;Trigger Area 还会画出它的碰撞体轮廓,你用与任何其他刚体相同的[碰撞体 gizmo](/docs/zh-cn/gameplay/physics/) 来塑形。diff --git a/docs/astro/src/content/docs/zh-cn/index.mdx b/docs/astro/src/content/docs/zh-cn/index.mdxindex 006f21169..6f83c2457 100644--- a/docs/astro/src/content/docs/zh-cn/index.mdx+++ b/docs/astro/src/content/docs/zh-cn/index.mdx@@ -31,7 +31,7 @@ import { Card, CardGrid, LinkCard } from '@astrojs/starlight/components';Entity-Component-System 内核,单一且缓存友好的组件存储层。</Card><Card title="可视化编辑器" icon="pencil">- UE5 风格的编辑器——场景视口、检视器、瓦片画笔、Sequencer,以及材质和 AI 的节点图编辑器。+ UE5 风格的编辑器——场景视口、检视器、瓦片地图模式、Sequencer,以及材质和 AI 的节点图编辑器。</Card><Card title="开箱即用" icon="star">物理、瓦片地图、粒子、材质与 2D 光照、动画、Spine、音频、UI,以及一套游戏 AI 层。diff --git a/docs/astro/src/content/docs/zh-cn/ui/overview.mdx b/docs/astro/src/content/docs/zh-cn/ui/overview.mdxindex 2b94d9974..0a690f2cf 100644--- a/docs/astro/src/content/docs/zh-cn/ui/overview.mdx+++ b/docs/astro/src/content/docs/zh-cn/ui/overview.mdx@@ -196,7 +196,7 @@ world.insert(viewport, UIScroll, { vertical: true }); // content 缺省取第这件事。`UIScroll` 就是这件事,现在 widget 和场景驱动的是同一个容器。<Aside type="note">- 视口需要 `UIMask` 来裁剪、`Interactable` 来接收指针。编辑器的 **Create → ScrollView**+ 视口需要 `UIMask` 来裁剪、`Interactable` 来接收指针。编辑器的 **+ 添加 → 创建实体… → ScrollView**已经把这三样装配好了。</Aside>diff --git a/docs/astro/src/content/docs/zh-cn/ui/widgets.mdx b/docs/astro/src/content/docs/zh-cn/ui/widgets.mdxindex cd8215dfe..3581bd7ae 100644--- a/docs/astro/src/content/docs/zh-cn/ui/widgets.mdx+++ b/docs/astro/src/content/docs/zh-cn/ui/widgets.mdx@@ -436,7 +436,7 @@ const stick = createVirtualJoystick({ world, parent: canvas, inputId: 'move',const actions = defineInputMap({ Move: Axis2D(Virtual('move')) });```-编辑器 Create → UI 面板提供同一个生成预制体。Play 中的鼠标拖动和触控使用+编辑器的创建实体选择器里,UI 分类提供同一个生成预制体。Play 中的鼠标拖动和触控使用同一套捕获机制。禁用、隐藏、移除、取消或切后台会释放该控件自己的贡献,其他控件仍保持输出。可以提供自定义底座和手柄外观。diff --git a/docs/astro/src/content/docs/zh-cn/world/prefabs.mdx b/docs/astro/src/content/docs/zh-cn/world/prefabs.mdxindex dec76a55e..2f382771e 100644--- a/docs/astro/src/content/docs/zh-cn/world/prefabs.mdx+++ b/docs/astro/src/content/docs/zh-cn/world/prefabs.mdx@@ -17,7 +17,7 @@ import { Aside } from '@astrojs/starlight/components';在 **World Outliner** 里右键一个实体 → **Create Prefab**。编辑器会把该实体及其整棵子树抽取成`assets/prefabs/<Name>.esprefab`(以实体名命名),并且**不改动**你的场景——原实体原样留在场景里,-不会被替换成实例。要放置实例,把 `.esprefab` 从内容浏览器拖进场景,或从 **Create → Prefabs** 分类生成。+不会被替换成实例。要放置实例,把 `.esprefab` 从内容浏览器拖进场景,或从 **+ 添加 → 创建实体… → Prefabs** 分类生成。<Aside type="note">如果子树引用了选区**之外**的实体,编辑器会先询问(*"Expose external references?"*)。这些引用会在