public VectorFont(FontResource res, int size) { Size = size; if (GameController.OnGodot) { _font = new Godot.DynamicFont { FontData = res.FontData, Size = size, }; } else { Handle = IoCManager.Resolve <IFontManagerInternal>().MakeInstance(res.FontFaceHandle, size); } }
public VectorFont(FontResource res, int size) { Size = size; Handle = IoCManager.Resolve <IFontManagerInternal>().MakeInstance(res.FontFaceHandle, size); }