fix: bind fighter animator controller in lobby
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using NUnit.Framework;
|
||||
using XGame.ActorBehavior;
|
||||
|
||||
public sealed class ActorBehaviorAnimatorControllerPathTests
|
||||
{
|
||||
[Test]
|
||||
public void GetControllerPath_Fighter_ReturnsGeneratedFighterController()
|
||||
{
|
||||
Assert.That(
|
||||
ActorBehaviorAnimatorControllerPaths.GetControllerPath("fighter"),
|
||||
Is.EqualTo("Assets/Game/Art/Actor/Controller/fighter.controller"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void GetControllerPath_UnknownType_ReturnsNull()
|
||||
{
|
||||
Assert.That(ActorBehaviorAnimatorControllerPaths.GetControllerPath("unknown"), Is.Null);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user