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);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b0d0c33caa94dbc94a83cf2c7e1cba0
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user