Repository navigation
en roadmap minimal example
中文 | English | Docs | Repository
This exercise connects building, scenes, assets, scripts, and Prefabs into one reviewable workflow. The result is a saved scene, a rotating object, and a reusable Prefab. No downloaded sample assets are required.
Status: uses existing capabilities. The steps require the Windows editor with C# enabled. Source review, snippet compilation, runtime tests, and full desktop interaction have separate evidence in Debugging and Testing.
- Build
EditorandLauncherusing Environment and Build. - Follow Your First Project to create
DocsDemo, create a basic scene, place Cube at(0, 0, 5), and keep the camera at the origin. - Save as
Assets/Scenes/FirstScene.scene. Later Prefab operations require a saved scene. - Create and attach the quick start's
Rotator.cs, enter Play, confirm that Cube rotates and Console showsRotator awake, then Stop.
Create a plain text Triangle.obj under Assets/Models on disk with the following content. It defines three vertices and one face, already positioned in front of the camera:
o DocsTriangle
v -1.0 -1.0 5.0
v 0.0 1.0 5.0
v 1.0 -1.0 5.0
f 1 2 3- Return to the editor and wait for the file to appear and finish importing in Asset Browser.
Import Here...is currently disabled; copying source files intoAssets/is an available entry point. - Expand the generated sub-assets and confirm a mesh, material, and Prefab. Drag the generated Prefab into empty Hierarchy space.
- Keep the instance Transform from adding another
+Zoffset: the OBJ vertices already include their position. Disable Cube temporarily to avoid overlap. - Observe the triangle in Scene View. A single-sided mesh may be invisible from the back; the default material has no texture in this example.
- Change a vertex in the OBJ and save. Use Asset Browser's
Reimportif necessary, inspect the reimport log, and save the scene again.
The model's generated Prefab is read-only. For import failures, check logs and dependencies using the asset pipeline guide; do not edit Library/ artifacts by hand.
- In edit mode, enable Cube again, name it
RotatingCube, and save the scene. - Open
Assets/Prefabsand drag theRotatingCubeHierarchy root into that folder. - Drag the resulting Prefab into the scene, move the second instance to one side, and save.
- Double-click the Prefab to enter Stage, change a visible property, and press
Ctrl+S. Save explicitly before switching Stage. - Inspect Apply/Revert on the instances. See Prefab Workflow for available commands and the boundaries of Variant/Unpack support.
Follow UI Designer to create a .ui document, add a Panel, save, and assign it to the Document field on UICanvasComponent. Verify layout using Screen Overlay first, then explore camera and world-space paths. The designer exposes only a subset of document schema fields.
| Check | Expected result | First things to inspect |
|---|---|---|
| Reopen project | Scene and asset references return | Save paths and preserved .meta identity |
| Script Play | Object rotates; Console records Awake | Compilation, object-row attachment, activation |
| Stop | Transform returns to edit state | Play sandbox versus the saved edit scene |
| OBJ import | Mesh, material, and Prefab generated | Source encoding, face indices, Console |
| Prefab | Two instances reference the same asset | Saved owning scene and existing connection |
| UI (optional) | Panel is visible | Document reference, size, render mode |
These checks form a desktop acceptance checklist. Compiling the script or passing subsystem tests alone does not establish that every interaction was performed.
- Feature Status Matrix connects this example to future directions.
- Scripting API Reference gives signatures and language scope before extending the behavior.
Nullus Engine
中文
- 认识 Nullus
- 安装与快速入门
- 使用编辑器
- 场景与对象
- Prefab 工作流
- 资产与内容管线
- 渲染、材质与光照
- 大场景与资源管理
- 游戏逻辑与脚本
- 用户界面
- 动画与角色
- 物理与交互
- 音频、特效与媒体
- AI 与联网
- 平台、构建与发布
- 扩展与引擎架构
- 调试、性能与质量
- 参考手册
- 示例与发展路线
English
- Getting to Know Nullus
- Install and Quick Start
- Using the Editor
- Scenes and Objects
- Prefab Workflow
- Assets and Content Pipeline
- Rendering, Materials, and Lighting
- Large Scenes and Resource Management
- Gameplay and Scripting
- User Interface
- Animation and Characters
- Physics and Interaction
- Audio, Visual Effects, and Media
- AI and Networking
- Platforms, Builds, and Releases
- Extending the Engine
- Debugging, Performance, and Quality
- Reference
- Examples and Roadmap