private void OnBrowserHighlight(GameObjectEventArgs browserHighlight) { Highlightable objHighlight = browserHighlight.GameObject.GetComponent <Highlightable>(); if (objHighlight != null) { _cursorDisplay.parent = browserHighlight.GameObject.transform; _cursorDisplay.localPosition = Vector3.zero; _isHighlighted = true; } }
private void OnBrowserHighlight(GameObjectEventArgs browserHighlight) { Highlightable objHighlight = browserHighlight.GameObject.GetComponent <Highlightable>(); if (objHighlight != null) { _cursorTop.parent = browserHighlight.GameObject.transform; _cursorTop.localPosition = objHighlight.HighlightPoint; _isHighlighted = true; } }
private void OnCursorLockedOn(GameObjectEventArgs browserHighlight) { _lockedOnTransform = browserHighlight.GameObject.transform; }
private void OnBrowserHighlight(GameObjectEventArgs browserHighlight) { highlightedObj = browserHighlight.GameObject; }