Example #1
0
 public virtual void Update(RigelGUIEvent e)
 {
     if (Content == null)
     {
         if (m_debug)
         {
             m_color = RigelColor.Random();
             GUI.RectAbsolute(Rect, m_color);
         }
     }
     else
     {
         Content.OnGUI(e);
     }
 }
Example #2
0
 public override void Reset()
 {
     Checked    = false;
     Color      = RigelColor.Random();
     ScrollInit = false;
 }