public void Initialize(EntityRegistry registry, EventSystem eventSystem) { registry.SetupSlice(ref mNoScoreSlice); registry.SetupSlice(ref mScoreSlice); eventSystem.AddMessageReceiver <AteInsect>(OnFlyEaten); }
public void Initialize(EntityRegistry registry, EventSystem eventSystem) { registry.SetupSlice(ref mNoScoreSlice); registry.SetupSlice(ref mScoreSlice); eventSystem.AddMessageReceiver <AteInsect>(OnFlyEaten); }