Hi,
I create a customized Clip. And override the ClipEditor.DrawBackground to show keyframes on it.
Now I want to drag these keyframes on clip, how can I detect MouseDown?
I Tried to Write “Event.current.Type == EventType.MouseDown” in the Method “ClipEditor.DrawBackground”. But it doesn’t work. This method seems only support “EventType.Repaint”.
If anyone knows the answer, please share it with me.
Thanks!