Documentation

Unity Engine

Download Unity

Unity Engine

OnCreate()

Called when this system is created.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
protected virtual void OnCreate()

Remarks

Implement an OnCreate() function to set up system resources when it is created.
OnCreate is invoked before the the first time ComponentSystemBase.OnStartRunning() and OnUpdate are invoked.