《Unity DOTS之ECS从入门到真香》(3)从旋转一个Cube开始(上)

一、ECS实现旋转一个Cube

ECS要求我们分别实现:实体(Entity)、组件(Component)、系统(System)
在这里插入图片描述

二、我们先创建一个组件(Component),Component是一个结构体struct。

猜你喜欢

转载自blog.csdn.net/cxihu/article/details/120613116