convert TaskTempl
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user