Skip to content

Instantly share code, notes, and snippets.

@admal
admal / DotsQuadrant.cs
Last active October 1, 2020 01:08
Unity dots: migration to new DOTS
public class FindTargetSystem : SystemBase
{
private EndSimulationEntityCommandBufferSystem ecbSystem;
protected override void OnCreate()
{
ecbSystem = World.GetOrCreateSystem<EndSimulationEntityCommandBufferSystem>();
base.OnCreate();
}