コード例 #1
0
    private void OnApplicationQuit()
    {
        CreateEntity.Empty()
        .isOnApplicationQuit = true;

        systems.Execute();
        systems.Cleanup();
    }
コード例 #2
0
        protected override void OnAwake()
        {
            base.OnAwake();
            entity = CreateEntity.Empty();

            View.Initialize(Contexts.sharedInstance.game, entity);
            gameObject.RegisterListeners(entity);
        }
コード例 #3
0
 public void Execute()
 {
     foreach (var map in mapFinished)
     {
         CreateEntity
         .Empty()
         .With(x => x.SpawnZombie = true);
     }
 }