コード例 #1
0
ファイル: Examinator.cs プロジェクト: Notterox/SS3D
 /// This function asks the CompositeItemSelector to recalculate what item
 /// the cursor is over.
 private void CalculateExamine()
 {
     if (camera == null)
     {
         return;
     }
     selector.CalculateSelectedGameObject();
 }
コード例 #2
0
ファイル: Examinator.cs プロジェクト: Ryan089/SS3D
 /// 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);
 }