Table of Contents

变换位置

你可以在教程项目的 Menu → Transform Position 中找到这个示例

说明

本 C# 初级教程介绍实体的变换(Transform)组件。

变换组件是如此常用的组件,你可以通过 Entity.Transform 快速访问它。

变换包含与 Position(位置)、Rotation(旋转)和 Scale(缩放)相关的各种属性和方法。在这个例子中,我们会学习局部位置与世界位置的区别。

变换位置

代码

Warning

It looks like the sample you are looking for does not exist.