Tanoda
StartButton.cs
Go to the documentation of this file.
1using System.Collections;
2using System.Collections.Generic;
3using UnityEngine;
4
5public class StartButton : MonoBehaviour
6{
7 public static StartButton instance;
8
9 void Start()
10 {
11 instance = this;
12 }
13
14#if UNITY_EDITOR && !UNITY_WEBGL
15 [NaughtyAttributes.Button]
16 void EditorStart()
17 {
18 GetComponent<Valve.VR.InteractionSystem.InteractableHoverEvents>().onHandHoverBegin.Invoke();
19 }
20#endif
21}
static StartButton instance
Definition: StartButton.cs:7