private void LateUpdate()
    {
//		CameraContainer.position = Vector3.SmoothDamp (CameraContainer.position, InputVector, ref velocity, smoothDampTime);
        CameraContainer.position = state.ProcessMotion(Vector3.SmoothDamp(CameraContainer.position, InputVector, ref velocity, smoothDampTime));
        CameraContainer.rotation = state.ProcessRotation(InputVector);
    }
Esempio n. 2
0
 private void LateUpdate()
 {
     CameraContainer.position = state.ProcessMotion(InputVector);
     CameraContainer.rotation = state.ProcessRotation(InputVector);
 }