项目作者: starburst997

项目描述 :
Using Sprites to create UI
高级语言: ShaderLab
项目地址: git://github.com/starburst997/unity-sprite-ui.git
创建时间: 2019-12-07T18:55:04Z
项目社区:https://github.com/starburst997/unity-sprite-ui

开源协议:Other

下载


unity-sprite-ui

Tiny framework to create UI using Sprite and TextMeshPro without Canvas.

Usage

Add UI MonoBehaviour to a root GameObject, the RectTransform will follow the Main Camera.

Add Sprites and anchor them using RectTransform.

TODO

  • Size should stay the same despite camera zoom in / out
  • Scale helper (keep same DPI)
  • Background (fill maintaining aspect ratio)
  • Simple Click w/ callbacks
  • Enable / Disable based on screen size (min / max)
  • Popups
  • Text Inputs

License

MIT License