Skip to content

Commit

Permalink
Merge pull request #14 from shinyoshiaki/feature/menu3
Browse files Browse the repository at this point in the history
Feature/menu3
  • Loading branch information
shinyoshiaki committed Jul 15, 2019
2 parents e9339d8 + a1f9e2f commit afe23cc
Show file tree
Hide file tree
Showing 11 changed files with 3,229 additions and 3,713 deletions.
29 changes: 29 additions & 0 deletions Assets/QrdpSwitchMenu.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class QrdpSwitchMenu : MonoBehaviour
{

public GameObject menu;

private void Update()
{
if (OVRInput.GetDown(OVRInput.Button.Three))
{
Switch();
}
}

void Switch()
{
if (menu.activeSelf)
{
menu.SetActive(false);
}
else
{
menu.SetActive(true);
}
}
}
11 changes: 11 additions & 0 deletions Assets/QrdpSwitchMenu.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 0 additions & 46 deletions Assets/QrdpUiNumpad.cs

This file was deleted.

Loading

0 comments on commit afe23cc

Please sign in to comment.