Make AR Button working on quest
This commit is contained in:
@@ -10,7 +10,7 @@ namespace UI
|
||||
|
||||
void Start()
|
||||
{
|
||||
//gameObject.GetComponent<Button>().onClick.AddListener(TogglePassthrough);
|
||||
gameObject.GetComponent<Button>().onClick.AddListener(TogglePassthrough);
|
||||
passthroughLayer.enabled = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user