本文整理汇总了C#中Entitas.Pool.GetGroup方法的典型用法代码示例。如果您正苦于以下问题:C# Pool.GetGroup方法的具体用法?C# Pool.GetGroup怎么用?C# Pool.GetGroup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Entitas.Pool
的用法示例。
在下文中一共展示了Pool.GetGroup方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: SetPool
public void SetPool(Pool pool)
{
Random.seed = 42;
_pool = pool;
_group = pool.GetGroup(Matcher.BonusModel);
_players = pool.GetGroup(Matcher.Player);
}
示例2: SetPool
public void SetPool(Pool pool)
{
_pool = pool;
_pool.GetGroup(Matcher.SettingsModel).OnEntityUpdated += update;
_group = pool.GetGroup(Matcher.DifficultyController);
_models = pool.GetGroup(Matcher.DifficultyModel);
}
示例3: SetPool
public void SetPool(Pool pool)
{
this.pool = pool;
group = pool.GetGroup(Matcher.EnemySpawner);
camera = pool.GetGroup(Matcher.Camera);
enemyFactory = pool.GetGroup(Matcher.EnemyFactory);
}
示例4: SetPool
public void SetPool(Pool pool)
{
_pool = pool;
_asteroids = pool.GetGroup(Matcher.Asteroid);
_levels = pool.GetGroup(Matcher.Level);
_players = pool.GetGroup(Matcher.Player);
}
示例5: SetPool
public void SetPool(Pool pool)
{
this.pool = pool;
group = pool.GetGroup(Matcher.Score);
time = pool.GetGroup(Matcher.Time);
enemies = pool.GetGroup(Matcher.EnemiesModel);
}
示例6: SetPool
public void SetPool(Pool pool)
{
this.pool = pool;
group = pool.GetGroup(Matcher.FirstBoss);
time = pool.GetGroup(Matcher.Time);
createStages();
}
示例7: SetPool
public void SetPool(Pool pool)
{
this.pool = pool;
group = pool.GetGroup(Matcher.Input);
players = pool.GetGroup(Matcher.Player);
slowGame = pool.GetGroup(Matcher.SlowGame);
}
示例8: SetPool
public void SetPool(Pool pool)
{
group = pool.GetGroup(Matcher.AllOf(Matcher.PlayerScore, Matcher.GameObject));
killInfo = pool.GetGroup(Matcher.AllOf(Matcher.KillInfo, Matcher.GameObject));
score = pool.GetGroup(Matcher.Score);
translation = pool.GetGroup(Matcher.TranslationService);
}
示例9: SetPool
public void SetPool(Pool pool)
{
this.pool = pool;
this.pool.GetGroup(Matcher.SettingsModel).OnEntityUpdated += update;
group = pool.GetGroup(Matcher.DifficultyController);
difficulties = pool.GetGroup(Matcher.DifficultyModel);
}
示例10: SetPool
public void SetPool(Pool pool)
{
_pool = pool;
_camera = _pool.GetGroup(Matcher.Camera);
_time = _pool.GetGroup(Matcher.Time);
_group = pool.GetGroup(Matcher.AllOf(Matcher.Path, Matcher.GameObject, Matcher.Velocity, Matcher.VelocityLimit, Matcher.Position));
}
示例11: SetPool
public void SetPool(Pool pool)
{
group = pool.GetGroup(Matcher.WaveSpawner);
time = pool.GetGroup(Matcher.Time);
camera = pool.GetGroup(Matcher.Camera);
enemyFactory = pool.GetGroup(Matcher.EnemyFactory);
}
示例12: SetPool
public void SetPool(Pool pool)
{
this.pool = pool;
group = pool.GetGroup(Matcher.BonusModel);
currentShip = pool.GetGroup(Matcher.CurrentShip);
player = pool.GetGroup(Matcher.Player);
shipBonus = pool.GetGroup(Matcher.ShipBonus);
}
示例13: SetPool
public void SetPool(Pool pool)
{
Init(pool);
_createLevels = pool.GetGroup(Matcher.CreateLevel);
_players = pool.GetGroup(Matcher.Player);
_pause = pool.GetGroup(Matcher.PauseGame);
_blockade = pool.GetGroup(Matcher.MovingBlockade);
}
示例14: SetPool
public void SetPool(Pool pool)
{
_pool = pool;
_playerGroup = pool.GetGroup(Matcher.Player);
_timeGroup = pool.GetGroup(Matcher.Time);
_pause = pool.GetGroup(Matcher.PauseGame);
_settings = pool.GetGroup(Matcher.SettingsModel);
}
示例15: SetPool
public void SetPool(Pool pool)
{
_pool = pool;
_group = _pool.GetGroup(Matcher.Input);
_players = _pool.GetGroup(Matcher.Player);
_camera = _pool.GetGroup(Matcher.Camera);
_slowGame = _pool.GetGroup(Matcher.SlowGame);
}