Code cleanup.
This commit is contained in:
@@ -45,7 +45,7 @@ namespace Cryville.Common.Unity.UI {
|
||||
}
|
||||
|
||||
static MethodInfo _methodCreateFontAsset;
|
||||
static object[] _paramsCreateFontAsset = new object[] { null, null, 90, 9, GlyphRenderMode.SDFAA, 1024, 1024, Type.Missing, Type.Missing };
|
||||
static readonly object[] _paramsCreateFontAsset = new object[] { null, null, 90, 9, GlyphRenderMode.SDFAA, 1024, 1024, Type.Missing, Type.Missing };
|
||||
static FontAsset CreateFontAsset(string path, int index) {
|
||||
if (_methodCreateFontAsset == null) {
|
||||
_methodCreateFontAsset = typeof(FontAsset).GetMethod(
|
||||
|
Reference in New Issue
Block a user