on button press i want to check what time it is and if time equals to time i chose
for example:
if time =09:30
{
NotificationManager.Send(TimeSpan.FromSeconds(1), “Randomtext”, “randomtext”, new Color(1, 0.3f, 0.15f));
}
bellow is a part of the script, as you can see it displays notification after 1 second but i want it to display the notification at certain time for instance : at sunday 08:45…
public void OnGUI ()
{
if (GUILayout.Button(“randomtext”, GUILayout.Height(Screen.height * 0.1f), GUILayout.Width(Screen.width * 0.5f)))
{
NotificationManager.Send(TimeSpan.FromSeconds(1), “Randomtext”, “randomtext”, new Color(1, 0.3f, 0.15f));
i hope i explained it well