Fix unity warnings

This commit is contained in:
Vova
2024-05-21 13:30:01 +03:00
parent 1584d904df
commit 516df5601f
65 changed files with 512 additions and 2329 deletions
+4 -3
View File
@@ -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;
}