Exemple #1
0
    private void Initialize()
    {
        playersFilter = World.Default.Filter.With <PlayerComponent>();

        objectSpawner.Initialize();
        artManager.Initialize();
        networkEventsManager.Initialize();

        mapSystem.Initialize();
        tankRenderSystem.Initialize();
        tankShootSystem.Initialize(mapSystem);
        playerMovementSystem.Initialize(mapSystem);

        SpawnLocalPlayer();
    }
Exemple #2
0
 private void Awake()
 {
     enemySpawner.Initialize();
     bulletSpawner.Initialize();
     pickupSpawner.Initialize();
 }