convert game playing..

This commit is contained in:
2026-09-23 12:53:52 +09:00
parent 37c7942b71
commit 5d11288a6f
136 changed files with 15856 additions and 299 deletions
@@ -2310,8 +2310,8 @@ namespace BumpCombat.Tests
[Test]
public void PrototypeEnemies_UseRequestedCrowdAndNormalCatalog()
{
string[] crowdNames = { "Bat", "Slime" };
foreach (string crowdName in crowdNames)
string[] promotedCrowdNames = { "Bat", "Slime" };
foreach (string crowdName in promotedCrowdNames)
{
EnemyDefinition definition =
AssetDatabase.LoadAssetAtPath<EnemyDefinition>(
@@ -2321,11 +2321,11 @@ namespace BumpCombat.Tests
Assert.That(definition, Is.Not.Null, crowdName);
Assert.That(prefab, Is.Not.Null, crowdName);
Assert.That(definition.Role, Is.EqualTo(EnemyRole.Crowd), crowdName);
Assert.That(definition.Role, Is.EqualTo(EnemyRole.Normal), crowdName);
Assert.That(definition.MaxHealth, Is.GreaterThan(0f), crowdName);
Assert.That(prefab.transform.localScale.x, Is.EqualTo(1f), crowdName);
Assert.That(prefab.transform.localScale.y, Is.EqualTo(1f), crowdName);
Assert.That(prefab.GetComponent<Collider2D>().isTrigger, Is.True, crowdName);
Assert.That(prefab.GetComponent<Collider2D>().isTrigger, Is.False, crowdName);
}
string[] normalNames = { "Skeleton", "Necrofire", "SkeletonArcher" };