ドキュメント

Unity Engine

Download Unity

Unity Engine

OnCreate(ref SystemState)

Called when this system is created.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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
OnCreate
function to set up system resources when it is created.
OnCreate
is invoked before the the first time ISystemStartStop.OnStartRunning and ISystem.OnUpdate are invoked.