Fix unity warnings
This commit is contained in:
@@ -138,9 +138,10 @@ public abstract class BaseCharacter : MonoBehaviour
|
||||
{
|
||||
return;
|
||||
}
|
||||
var stringStatte=PlayerHelper.GetEnumMemberValue(newState);
|
||||
stringStatte= string.Format(stringStatte,_characterSex.ToString());
|
||||
_animator.Play(stringStatte);
|
||||
var stringState=PlayerHelper.GetEnumMemberValue(newState);
|
||||
stringState= string.Format(stringState,_characterSex.ToString());
|
||||
Debug.Log($"Animation state {stringState}");
|
||||
_animator.Play(stringState);
|
||||
_currentAnimation = newState;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user