convert TaskTempl

This commit is contained in:
Le Duc Anh
2025-10-01 15:12:40 +07:00
parent 5477333690
commit 1efca22cb8
9 changed files with 366 additions and 137 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ public class PlayerVisual : MonoBehaviour
private void PlayActionEventHandler(PlayActionEvent @event)
{
BrewMonster.Logger.Log("PlayActionEventHandler : "+@event.AnimationName);
BrewMonster.BMLogger.Log("PlayActionEventHandler : "+@event.AnimationName);
animancer.TryPlay(@event.AnimationName);
}
@@ -20,13 +20,13 @@ public class PlayerVisual : MonoBehaviour
animancer = GetComponentInChildren<NamedAnimancerComponent>();
if(animancer == null)
{
BrewMonster.Logger.LogError("animancer == null");
BrewMonster.BMLogger.LogError("animancer == null");
return;
}
var player = GetComponentInParent<EC_Player>();
if(player == null)
{
BrewMonster.Logger.LogError("player == null");
BrewMonster.BMLogger.LogError("player == null");
return;
}
_playerInfo = player.GetPlayInfo();