in0finite / SanAndreasUnity

Open source reimplementation of GTA San Andreas game engine in Unity
https://discord.gg/p6jjud5
MIT License
2.13k stars 352 forks source link

Convert UI to new Unity UI system #52

Closed in0finite closed 4 years ago

in0finite commented 4 years ago

All in-game UI (health, weapon image, ammo, FPS, FPS image, etc...), main menu, and pause menu should be converted to new Unity UI system.

This will be difficult to do with windows, so we will exclude them for now.

Benefits:

DannyWebbie commented 4 years ago

I would consider lowering priority of this task due to UGUI being replaced by UIElements in the near future. UIElements has been powering the Unity editor UI since 2019.1, with runtime preview available since 2020.1.

Feature parity with UGUI is expected to land in 2020 LTS, but I expect it to be usable long before that.

UGUI can still be used for things where UIElements falls short, like world Space UI, which is predicted to mature later in the development cycle.

UIElements roadmap forum thread

in0finite commented 4 years ago

Well, it's too late now. I already converted main menu, pause menu, and now I am converting HUD.

If it can be paired with UGUI, then it's not a problem.

Also, I can't wait for Unity to make up their mind. They constantly promise something, and don't fulfill it.

2020 LTS seems a lot time, probably 1 year ahead.

in0finite commented 4 years ago

Implemented as of commit 2819e73d5d4a4ce6ab04777e8e03a529c16323c1.