Example #1
0
 private void Awake()
 {
     if (!Instance)
     {
         Instance = this;
         DontDestroyOnLoad(this.gameObject);
     }
     else
     {
         Destroy(this);
         return;
     }
 }
 private void Start()
 {
     _globalInputs = HVRGlobalInputs.Instance;
     _hasInputs    = _globalInputs;
 }