changes in male and female animations

This commit is contained in:
2024-04-28 17:24:21 +03:00
parent 4d3935236f
commit 3116437c46
22 changed files with 18931 additions and 174 deletions
@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEngine.AI;
public class CharacterDescriptor : MonoBehaviour
{
[SerializeField]
public CharacterSex Sex;
private NavMeshAgent _navMeshAgent;
private void Start()
{
_navMeshAgent = GetComponentInParent<NavMeshAgent>();
}
private void OnAnimatorMove()
{
transform.parent.position = _navMeshAgent.nextPosition;
}
}