/// This function asks the CompositeItemSelector to recalculate what item /// the cursor is over. private void CalculateExamine() { if (camera == null) { return; } selector.CalculateSelectedGameObject(); }
/// 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); }