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; }
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; }