Because I can't detect System Time Format in Unity
| OS | Supported |
|---|---|
| Windows | ✔️ |
| Linux | ✔️ |
| macOS | ❌ |
| Android | ❌ |
✔️ - Supported
❌ - Unsupported
- Build the project
- Import
UnityTimeHater.csinto Unity - Import Plugins into Unity
Done!
To use, simply do
bool is24hr = UnityTimeHater.Is24HourClock();- Clone the git repo
- Create a build Directory and cd into it
cmake-build-debug,cmake-build-release-windows,cmake-build-release-linux, etc.
- Run
cmake .. -DCMAKE_BUILD_TYPE=Release - Run
cmake --build . --config Release