FontAsset
interludesoftware.tick¶
Interlude.Tick¶
FontAsset Class¶
Inheritance System.Object → FontAsset
Methods¶
FontAsset.Load() Method¶
Builds Interlude.Tick.FontAsset.CharactersInOrder (a sparse list indexed by Unicode codepoint) and Interlude.Tick.FontAsset.KerningByFirst from the raw JSON-deserialised glyph and kerning lists. Must be called once after deserialisation before the font can be used for rendering.
FontAsset.Load(TextAsset) Method¶
Deserialises a FontAsset from the JSON text in asset and calls Load() to prepare it for rendering.
Parameters¶
asset UnityEngine.TextAsset