Пример #1
0
 /* Exit button: exit out of animation mode, no
  * button interface */
 public void onClickExit()
 {
     if (checkActive())
     {
         //return initial state of protein icons
         activeKey.tag     = "Untagged";
         activeProtein.tag = "Untagged";
         animateProteinScript.setActiveFalse();
         enableModelScript.terminateAnimation();
         Debug.Log("Exiting");
         clearOtherModelScript.SetActive(true);
     }
 }