Example #1
0
        protected override void Awake()
        {
            base.Awake();

            fontAssets = TextMeshProFontAssetCache.LoadAssetCache <TextMeshProFontAssetCache>();
        }
 private void Start()
 {
     fontAssets = TextMeshProFontAssetCache.LoadAssetCache <TextMeshProFontAssetCache>();
     StateSynchronizationSceneManager.Instance.RegisterService(this, new ComponentBroadcasterDefinition <TextMeshProBroadcaster>(typeof(TextMeshPro)));
 }