using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
public class ceshi : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
if (Input.GetKeyDown(KeyCode.A))
{
SteamVR_Fade.Start(Color.clear, 0);
SteamVR_Fade.Start(Color.black, 1f);
}
if (Input.GetKeyDown(KeyCode.D))
{
SteamVR_Fade.Start(Color.clear, 1f);
}
}
}