hch
9 天以前 cb653cf75b17b9bdca0b5b9e6b88edf1ca72e90c
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