private void OnApplicationQuit() { CreateEntity.Empty() .isOnApplicationQuit = true; systems.Execute(); systems.Cleanup(); }
protected override void OnAwake() { base.OnAwake(); entity = CreateEntity.Empty(); View.Initialize(Contexts.sharedInstance.game, entity); gameObject.RegisterListeners(entity); }
public void Execute() { foreach (var map in mapFinished) { CreateEntity .Empty() .With(x => x.SpawnZombie = true); } }