refactor: Update Unity to 2022.3.62
This commit is contained in:
@@ -113,7 +113,7 @@ namespace Cryville.Common.Unity.UI {
|
||||
private bool initialized;
|
||||
private GameObject[][] lines;
|
||||
private int[] refl;
|
||||
Vector2 cpos = new Vector2(0, 1);
|
||||
Vector2 cpos = new(0, 1);
|
||||
Vector2 pprectsize;
|
||||
|
||||
#pragma warning disable IDE0051
|
||||
|
@@ -35,8 +35,7 @@ namespace Cryville.Common.Unity.UI {
|
||||
if (MaxFallbackCount <= 0) break;
|
||||
}
|
||||
else {
|
||||
if (_font.fallbackFontAssetTable == null)
|
||||
_font.fallbackFontAssetTable = new List<FontAsset>();
|
||||
_font.fallbackFontAssetTable ??= new List<FontAsset>();
|
||||
_font.fallbackFontAssetTable.Add(ifont);
|
||||
Shared.Logger.Log(1, "UI", "Using fallback font #{0}: {1}", _font.fallbackFontAssetTable.Count, typeface.FullName);
|
||||
if (_font.fallbackFontAssetTable.Count >= MaxFallbackCount) break;
|
||||
|
Reference in New Issue
Block a user