示例#1
0
 public void Init()
 {
     _systems.Add(new SpawnpointViewCreatingSystem(_contexts, new GameObject(), new GameObject()));
     _spawnpoint = _contexts.tile.CreateEntity();
     _spawnpoint.AddSpawnpoint(1);
     _spawnpoint.AddView(new GameObject());
 }
 public void Init()
 {
     _systems.Add(new SpawnpointViewDestroySystem(_contexts));
     _spawnpoint = _contexts.tile.CreateEntity();
     _spawnpoint.AddSpawnpoint(1);
     _spawnpoint.AddView(new GameObject());
     _spawnpoint.AddMapEditorSpawnpointView(new GameObject());
 }