Skip to content

Instantly share code, notes, and snippets.

@tsubaki
Created September 4, 2018 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsubaki/a2e22441f2a1d2e0316a4317b2758dce to your computer and use it in GitHub Desktop.
Save tsubaki/a2e22441f2a1d2e0316a4317b2758dce to your computer and use it in GitHub Desktop.
UpdateBeforeの例
using Unity.Entities;
[AlwaysUpdateSystem]
public class SampleSystem1 : ComponentSystem
{
protected override void OnUpdate(){}
}
using Unity.Entities;
[AlwaysUpdateSystem]
[UpdateBefore(typeof(SampleSystem1))]
public class SampleSystem2 : ComponentSystem
{
protected override void OnUpdate(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment