Dynamic Header ScriptingDark Center BandScripting
Manual

FontAssetId

struct in Doozy.Engine.Themes

Description

The FontAssetId is a structure that stores a TextMeshPro FontAsset and Guid pair

Properties

  • public Guid Id – Id of this struct

  • public TMP_FontAsset FontAsset – FontAsset reference of this struct

Constructors

  • public FontAssetId(TMP_FontAsset fontAsset) – Construct a new FontAssetId with the given FontAsset reference and a unique Id

  • public FontAssetId(Guid id, TMP_FontAsset fontAsset) – Construct a new FontAssetId with the given Id and FontAsset reference

Public Methods

  • public void SetId(Guid newGuid) – Set the Id value

  • public void SetFontAsset(TMP_FontAsset fontAsset) – Set the FontAsset reference