【Unity3D】ECS入门学习(七)缓存区组件 IBufferElementData
组件继承于IBufferElementData,可以让一个实体拥有多个相同的组件。 using Unity.Entities;public struct MyBuffComponentData : IBufferElementData {public int num; }using System.Collections; using System.Collections.Generic; using UnityEngine; using U…
2025-12-19