예제 #1
0
 /// <summary>
 /// A context was activated
 /// </summary>
 void ContextActivated(OVRInspectorContextDetails contextDetails)
 {
     if (contextDetails != currentContext)
     {
         if (currentContext != null)
         {
             currentContext.SetContextActive(this, false);
         }
         currentContext = contextDetails;
         currentContext.SetContextActive(this, true);
         UpdateContextMenu();
     }
 }