Exemplo n.º 1
0
 public void PointerEnter()
 {
     if (VrOn.isVROn)
     {
         anamManager.playRotation(false);
         anam.selectOrgansForVr(transform.GetSiblingIndex());
         gazeAt = true;
         ret    = true;
     }
 }
Exemplo n.º 2
0
    public void hideOrgansInVr()
    {
        GameObject.FindWithTag("system").transform.GetChild(anatomyDialogue.selectedOrgans).gameObject.SetActive(false);
        GameObject panelAnim = GameObject.FindWithTag("animcanvas");

        panelAnim.GetComponent <Animator> ().SetTrigger("show");
        Destroy(panelAnim, .25f);
        anaManager.playRotation(true);
        anaDiag.hasSelected(false);
    }