pub fn new(
        normal_text_color: [f32; 4],
        hover_text_color: Option<[f32; 4]>,
        press_text_color: Option<[f32; 4]>,
    ) -> Self {
        Self {
            normal_text_color,
            hover_text_color,
            press_text_color,
        }
    }
/// A constructor for this component.  It's recommended to use
/// either a prefab or `UiButtonBuilder` rather than this function
/// if possible.
A constructor for this component.  It's recommended to use
either a prefab or `UiButtonBuilder` rather than this function
if possible.
A constructor for this component . It ' s recommended to use either a prefab or ` UiButtonBuilder ` rather than this function if possible .
pub fn new(
        normal_text_color: [f32; 4],
        hover_text_color: Option<[f32; 4]>,
        press_text_color: Option<[f32; 4]>,
    ) -> Self {
        Self {
            normal_text_color,
            hover_text_color,
            press_text_color,
        }
    }
pub fn new ( normal_text_color : [ f32 ; 4 ] , hover_text_color : Option < [ f32 ; 4 ] > , press_text_color : Option < [ f32 ; 4 ] > , ) -> Self { Self { normal_text_color , hover_text_color , press_text_color , } }
A constructor for this component.
A constructor for this component .
normal_text_color
[f32; 4]
hover_text_color
Option<[f32; 4]>
press_text_color
Option<[f32; 4]>
normal_text_color
[f32; 4]
hover_text_color
Option<[f32; 4]>
press_text_color
Option<[f32; 4]>