public void OnInspectedEnd(Interactor interactor) { currentHoveringIDs.Remove(interactor.GetInstanceID()); // if (highlightOnHover) { // UnHighlight(); // } for (int i = 0; i < listeners.Count; i++) { listeners[i].OnInspectedEnd(interactor); } if (onInspectEnd != null) { onInspectEnd.Invoke(interactor); } }
public void OnInspectedStart(Interactor interactor) { currentHoveringIDs.Add(interactor.GetInstanceID()); if (highlightOnHover) { SubmitForHighlight(); } for (int i = 0; i < listeners.Count; i++) { listeners[i].OnInspectedStart(interactor); } if (onInspectStart != null) { onInspectStart.Invoke(interactor); } }