yyl
7 天以前 c124d98bdf9659cf764bebb799bee42c30eb152f
Main/Component/UI/Common/FontSwitch.cs
@@ -15,16 +15,15 @@
    [ExecuteAlways]
    private void Awake()
    {
        // TODO YYL
        // switch (m_FontType)
        // {
        //     case FontType.Preferred:
        //         text.font = FontUtility.preferred;
        //         break;
        //     case FontType.Secondary:
        //         text.font = FontUtility.secondary;
        //         break;
        // }
        switch (m_FontType)
        {
            case FontType.Preferred:
                text.font = FontUtility.preferred;
                break;
            case FontType.Secondary:
                text.font = FontUtility.secondary;
                break;
        }
    }
    public enum FontType