示例#1
0
 public void Setup(EcsWorld world, DataGame dataGame, Camera mainCamera, GamePool pool, Transform[] waitpoints)
 {
     this.world      = world;
     dataTank        = GetRandomEnemy(dataGame);
     weapon          = dataGame.SimpleTankWeapon;
     this.mainCamera = mainCamera;
     this.pool       = pool;
     this.waitpoints = waitpoints;
 }
示例#2
0
 public virtual void Setup(EcsWorld world, DataGame dataGame, Camera mainCamera, GamePool pool)
 {
     this.world      = world;
     dataTank        = dataGame.PlayerTank;
     weapon          = dataGame.SimpleTankWeapon;
     this.mainCamera = mainCamera;
     this.pool       = pool;
 }