Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aras-p/UnityStbEasyFont
https://github.com/aras-p/UnityStbEasyFont
font unity
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aras-p/UnityStbEasyFont
- Owner: aras-p
- Created: 2015-11-02T08:48:17.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2015-11-07T15:13:29.000Z (over 8 years ago)
- Last Synced: 2024-02-03T19:02:03.327Z (5 months ago)
- Topics: font, unity
- Language: C#
- Size: 215 KB
- Stars: 46
- Watchers: 6
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- AwesomeUnityCommunity - UnityStbEasyFont - A port of stb_easy_font.h to Unity/C#. (:bar_chart: UI <a name="ui"></a> / Control Components <a name="ui-controls-components"></a>)
- awesome-unity - UnityStbEasyFont - A port of stb_easy_font.h to Unity/C#. (:bar_chart: UI <a name="ui"></a> / Control Components <a name="ui-controls-components"></a>)
README
# UnityStbEasyFont
A port of [stb_easy_font.h](https://github.com/nothings/stb/blob/master/stb_easy_font.h) to Unity/C#.
Primarily for the cases where you need some simple text, but don't want to use built-in Unity's UI/TextMesh/GUIText
for whatever reason. In my case, I needed some explanatory text on screen for automated graphics tests, that would never
change if/when our font system changes.![GameView](/Docs/GameView.png?raw=true "Simple text in game view")
*SimpleTextMesh* component: TextMesh equivalent (3D positioned text in world space)
![SimpleTextMesh](/Docs/InspectorSimpleTextMesh.png?raw=true "SimpleTextMesh")
*SimpleGUIText* component: GUIText equivalent (screenspace pixel-size text)
![SimpleGUIText](/Docs/InspectorSimpleGUIText.png?raw=true "SimpleGUIText")
## Unity version
This project is built with Unity 5.1.1, but generally the code should work in pretty much any version. I think :)
## Code Quality
Code was just whipped together in a hurry ("throwaway prototype to validate idea" state right now),
not much comments or robustness. Use at your own risk.## License
This software is in the public domain. Where that dedication is not
recognized, you are granted a perpetual, irrevocable license to copy,
distribute, and modify these files as you see fit.