AssignDefaultFont() private method

private AssignDefaultFont ( ) : void
return void
コード例 #1
0
ファイル: DefaultControls.cs プロジェクト: zwong91/Titan
        private static void SetDefaultTextValues(Text lbl)
        {
            // Set text values we want across UI elements in default controls.
            // Don't set values which are the same as the default values for the Text component,
            // since there's no point in that, and it's good to keep them as consistent as possible.
            lbl.color = s_TextColor;

            // Reset() is not called when playing. We still want the default font to be assigned
            lbl.AssignDefaultFont();
        }
コード例 #2
0
 private static void SetDefaultTextValues(Text lbl)
 {
     lbl.color = s_TextColor;
     lbl.AssignDefaultFont();
 }
コード例 #3
0
 private static void SetDefaultTextValues(Text lbl)
 {
     lbl.color = DefaultControls.s_TextColor;
     lbl.AssignDefaultFont();
 }