Exemplo n.º 1
0
 void Update()
 {
     mediaPanel.Update();
     if (m_SchedulingPanel == null)
     {
         m_SchedulingPanel = new SchedulingPanel(m_DevLogEntries);
         m_SchedulingPanel.OnEnable();
     }
     m_SchedulingPanel.Update();
 }
Exemplo n.º 2
0
 private void OnEnable()
 {
     EditorApplication.update += Update;
     if (m_SchedulingPanel == null)
     {
         // For some reason the scheduling panel is occasionally set to null, this resets it
         // TODO remove this workaround by fixing the actual bug!!!
         m_SchedulingPanel = new SchedulingPanel(m_DevLogEntries);
     }
     m_SchedulingPanel.OnEnable();
 }