protected override void HoverEnd(InteractiveHandle target, HoverEndInfo info) { if (target != m_Handle) { return; } SyncColor(); }
protected override void DragBegin(InteractiveHandle target, DragBeginInfo info) { if (target != m_Handle) { return; } SyncColor(); }
public Event(EventType type, InteractiveHandle target) { this.type = type; this.target = target; }
void Awake() { m_ThisRenderer = GetComponent <Renderer>(); m_Handle = GetComponent <InteractiveHandle>(); }
public void SetHover(InteractiveHandle handle) { m_Interaction.SetHovered(handle); }