private void Update() { if (!m_enableInput) { return; } m_movementController.MoveCharacter(GetInput(), m_lerpTime); Debug.DrawLine(transform.position, transform.position + m_movementController.GetCurrentForward(), Color.red); }
private void MoveToPoint(Vector3 p_targetPoint) { m_movementController.MoveCharacter((p_targetPoint - transform.position), IsSpookyTime() ? m_spookyTimeLerpTime : m_defaultLerpTime); }