protected InteractiveHandle GetHandle(IPickingTarget pickingTarget) { MonoBehaviour behaviour = pickingTarget as MonoBehaviour; if (behaviour == null) { return(null); } return(behaviour.GetComponentInParent <InteractiveHandle>()); }
public PickingHit(IPickingTarget target, float distance) : this() { this.target = target; this.distance = distance; }