convert more structs

This commit is contained in:
Le Duc Anh
2025-10-02 15:56:27 +07:00
parent 62c7417c74
commit e111d04839
6 changed files with 2137 additions and 277 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
using Animancer;
using BrewMonster;
using System;
using UnityEngine;
@@ -11,7 +12,7 @@ public class PlayerVisual : MonoBehaviour
private void PlayActionEventHandler(PlayActionEvent @event)
{
BrewMonster.BMLogger.Log("PlayActionEventHandler : "+@event.AnimationName);
BMLogger.Log("PlayActionEventHandler : "+@event.AnimationName);
animancer.TryPlay(@event.AnimationName);
}
@@ -20,13 +21,13 @@ public class PlayerVisual : MonoBehaviour
animancer = GetComponentInChildren<NamedAnimancerComponent>();
if(animancer == null)
{
BrewMonster.BMLogger.LogError("animancer == null");
BMLogger.LogError("animancer == null");
return;
}
var player = GetComponentInParent<EC_Player>();
if(player == null)
{
BrewMonster.BMLogger.LogError("player == null");
BMLogger.LogError("player == null");
return;
}
_playerInfo = player.GetPlayInfo();