예제 #1
0
 public void OnGUI(Event evt)
 {
     if (m_MoveItemHandler != null)
     {
         m_MoveItemHandler.OnGUI(evt);
     }
 }
예제 #2
0
        public override void Overlay(Event evt, WindowState state)
        {
            if (!m_Dragged)
            {
                return;
            }

            if (m_TimeAreaAutoPanner != null)
            {
                m_TimeAreaAutoPanner.OnGUI(evt);
            }

            m_MoveItemHandler.OnGUI(evt);

            if (!m_MoveItemHandler.allowTrackSwitch || m_MoveItemHandler.targetTrack != null)
            {
                TimeIndicator.Draw(state, m_MoveItemHandler.start, m_MoveItemHandler.end);
                m_SnapEngine.OnGUI();
            }
        }