VRSwitch.cs 388 B

1234567891011121314151617181920
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. public class VRSwitch : MonoBehaviour
  5. {
  6. public RectTransform canvas;
  7. public RectTransform vrCanvas;
  8. public GameObject[] hideForVR;
  9. void Start()
  10. {
  11. // if(Application.platform == RuntimePlatform.)
  12. }
  13. // Update is called once per frame
  14. void Update()
  15. {
  16. }
  17. }