UnityECS学习日记十九:UnityECS的特性(Attribute)

特性(Attribute)修饰类型功能(待定表示还待补全)
[AlwaysUpdateSystem]Class总是更新系统
[BurstCompile]StructBurs编译(Job结构体)
[ReadOnly]NativeArray只读模式,速度更快
[NativeDisableParallelForRestriction]NativeArray原生禁用并行约束
[DisableAutoCreation]Class禁用系统在ECS中自动创建
[UpdateInGroup]Class设置System在指定系统组更新
[UpdateBefore]Class设置System在指定系统之前更新
[UpdateAfter]Class设置System在指定系统之后更新
[WriteGroup]Struct写组,使用EntityQueryDecs查询时进行使用
[WorldSystemFilter]Class内部使用
[ForcedMemoryOrderingAttribute]Struct待定
[SceneViewWorldPosition]Class待定
[RequiresEntityConversion]Class将对象转换成实体
[RequireComponentTag]Struct待定
[RegisterGenericComponentType]Assembly待定
[MaximumChunkCapacity]Class|Struct待定
[ExcludeComponent]Struct待定
[DisallowRefReturnCrossingThis]Struct|Method|Property待定
[ChunkSerializableAttribute]Class|Struct表示给定类型的属性可用于序列化为块存储。块存储中的数据被视为blittable,没有特殊的预处理或后处理。
[ChangedFilter]Parameter待定
   

本篇参考:https://blog.csdn.net/qq_30137245/article/details/99544458

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值