Exemple #1
0
 /// This function asks the CompositeItemSelector to recalculate what item
 /// the cursor is over.
 private void CalculateExamine()
 {
     if (camera == null)
     {
         return;
     }
     selector.CalculateSelectedGameObject();
 }
Exemple #2
0
 /// This function asks the CompositeItemSelector to recalculate what item
 /// the cursor is over. It triggers a coroutine to check what the current
 /// item is after the rendering has been completed.
 private void CalculateExamine()
 {
     if (camera == null)
     {
         return;
     }
     selector.CalculateSelectedGameObject();
     coroutine = UpdateUserInterface();
     StartCoroutine(coroutine);
 }