Exemplo n.º 1
0
        protected override void Awake()
        {
            base.Awake();

            fontAssets = FontAssetCache.LoadAssetCache <FontAssetCache>();
        }
 private void Start()
 {
     fontAssets = FontAssetCache.LoadAssetCache <FontAssetCache>();
     StateSynchronizationSceneManager.Instance.RegisterService(this, new ComponentBroadcasterDefinition <TextBroadcaster>(typeof(Text)));
 }