Exemplo n.º 1
0
 public void Init(IGameSystems gameSystems, Context context)
 {
     for (int i = 0; i < systems.Count; ++i)
     {
         systems[i].Init(gameSystems, context);
     }
 }
Exemplo n.º 2
0
 public void Init(IGameSystems gameSystems, Context ctx)
 {
     mainCamera = Object
                  .Instantiate(ctx.assets.Get <GameObject>("prefabs", "system/main camera"))
                  .GetComponent <Camera>();
     virtualCamera = Object
                     .Instantiate(ctx.assets.Get <GameObject>("prefabs", "system/cm vcam"))
                     .GetComponent <CinemachineVirtualCamera>();
 }
Exemplo n.º 3
0
 public void Init(IGameSystems gameSystems, Context ctx)
 {
 }
Exemplo n.º 4
0
 public void Init(IGameSystems gameSystems, Context ctx)
 {
     // either hook up entity created listener directly to entity system,
     // or hook up with an event pump
 }
Exemplo n.º 5
0
        // private Map map;


        public void Init(IGameSystems gameSystems, Context ctx)
        {
            // anim = game.anim;
            // map = game.map;
        }
Exemplo n.º 6
0
 public void Init(IGameSystems gameSystems, Context ctx)
 {
     assets = (Assets)ctx.assets;
 }