OnCreate(ref SystemState)
Called when this system is created.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
OnCreate(SystemState)
void OnCreate(ref SystemState state)
Parameters
The SystemState backing this system instance
Remarks
Implement an function to set up system resources when it is created.
OnCreateOnCreate