Example #1
0
 public void InitOutline(
     Rect rect,
     Color color,
     float duration)
 {
     SetPixelPerfect(ref rect, out m_Rect);
     m_Color = color;
     m_Style = GUIRectangleStyle.BORDER;
     m_T     = duration;
 }
Example #2
0
 public void InitFilled(
     Rect rect,
     Color color,
     float duration)
 {
     SetPixelPerfect(ref rect, out m_Rect);
     m_Color = color;
     m_Style = GUIRectangleStyle.FILLED;
     m_T     = duration;
 }