浏览代码

Run Gallery in editor as well.

/main
kg 6 年前
当前提交
e869359f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Samples/UIWidgetsGallery/GalleryMainEditor.cs

4
Samples/UIWidgetsGallery/GalleryMainEditor.cs


protected override void Awake() {
base.Awake();
FontManager.instance.addFont(Resources.Load<Font>("MaterialIcons-Regular"));
FontManager.instance.addFont(Resources.Load<Font>("GalleryIcons"));
FontManager.instance.addFont(Resources.Load<Font>("MaterialIcons-Regular"), "Material Icons");
FontManager.instance.addFont(Resources.Load<Font>("GalleryIcons"), "GalleryIcons");
}
}
}
正在加载...
取消
保存