Unity Date / Time Picker
I didn’t expect to build a utility to handle activating a scrolling date and time picker. However, having looked around (admittedly not in a lot of depth) and not finding anything that fit my needs I ended up creating my own.
As part of the redevelopment of the ADK46erNow app I needed to be able to tap on a date or time field and have a window or panel appear allowing me to scroll through months, days, years or hours and minutes. And I had to develop it in C# since I’m converting this app from Solar2D using Lua to Unity using C#.
I’ve made the code and documentation available on my Github account. It’s public and free to download and modify. I developed this as standalone code that can be incorporated into a project. It’s not “pretty”, nor is it meant to be. I will be tailoring this code for the new ADK46erNow app and it will be gorgeous! The diagram below shows the code architecture and helps to visualize where everything lives and how the various objects communicate with each other.
If you’re interested the code and more detail is available on my Github repository.
