コード例 #1
0
		public override void OnCreate ()
		{
			base.OnCreate ();

			FontyConfiguration configuration = new FontyConfiguration () {
				Extension = ".ttf",
				FontEntityClazz = typeof(MyFontyEntity),
				SourceTypo = FontySourceTypo.assets
			};

			FontyLoader.GetInstance ().Init (configuration);
		}
コード例 #2
0
		public FontyLoader Init (FontyConfiguration configuration)
		{
			this.configuration = configuration;
			return this;
		}