2
0

SteamVR_CameraMask.cs 553 B

1234567891011121314151617181920
  1. //======= Copyright (c) Valve Corporation, All rights reserved. ===============
  2. //
  3. // Purpose: Masks out pixels that cannot be seen through the connected hmd.
  4. //
  5. //=============================================================================
  6. using UnityEngine;
  7. namespace Valve.VR
  8. {
  9. [ExecuteInEditMode]
  10. public class SteamVR_CameraMask : MonoBehaviour
  11. {
  12. void Awake()
  13. {
  14. Debug.Log("<b>[SteamVR]</b> SteamVR_CameraMask is deprecated in Unity 5.4 - REMOVING");
  15. DestroyImmediate(this);
  16. }
  17. }
  18. }