2
0

SteamVR_CameraFlip.cs 537 B

1234567891011121314151617181920
  1. //======= Copyright (c) Valve Corporation, All rights reserved. ===============
  2. //
  3. // Purpose: Flips the camera output back to normal for D3D.
  4. //
  5. //=============================================================================
  6. using UnityEngine;
  7. namespace Valve.VR
  8. {
  9. [ExecuteInEditMode]
  10. public class SteamVR_CameraFlip : MonoBehaviour
  11. {
  12. void Awake()
  13. {
  14. Debug.Log("<b>[SteamVR]</b> SteamVR_CameraFlip is deprecated in Unity 5.4 - REMOVING");
  15. DestroyImmediate(this);
  16. }
  17. }
  18. }