private void Awake()
    {
        _initialEnemyInfo = new EnemyInfo();
        _initialEnemyInfo.CopyValues(enemyInfo);

        _rb           = GetComponent <Rigidbody>();
        _stateMachine = GetComponent <StateMachine>();
//        modelAnimator = transform.Find("Model").GetComponent<Animator>();
        _navMeshAgent = GetComponent <NavMeshAgent>();
        _navMeshAgent.updatePosition = false;
        _navMeshAgent.updateRotation = false;
    }
 public void OnObjectSpawn()
 {
     enemyInfo.CopyValues(_initialEnemyInfo);
     _stateMachine.currentState = _stateMachine.defaultState;
     SetBodyFlicker(false);
 }