예제 #1
0
        public void Update()
        {
            m_nativePluginRunner.Update();
            m_cameraController.Update();

            UpdateTransforms();
        }
예제 #2
0
 public void Update()
 {
     m_cameraController.UpdateInput();
     m_nativePluginRunner.Update();
     m_cameraController.Update(Time.deltaTime);
     UpdateTransforms();
 }
예제 #3
0
        public void Update()
        {
            m_cameraApi.UpdateInput();

            if (m_cameraApiInternal.CustomRenderCamera != null)
            {
                var cameraState = GetStateForCustomCamera(m_cameraApiInternal.CustomRenderCamera);
                m_cameraApiInternal.SetCustomRenderCameraState(cameraState);
            }

            m_nativePluginRunner.Update();

            if (m_cameraApi.HasControlledCamera)
            {
                var cameraState = m_cameraApiInternal.GetNativeCameraState();
                ApplyNativeCameraState(cameraState, m_cameraApi.GetControlledCamera());
            }

            UpdateTransforms();
        }