Fixed foveal FOV representation showing all the time in POV and added Possibility to use Timestamps for session selection
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class DateSelector : MonoBehaviour
|
||||
@@ -11,6 +12,8 @@ public class DateSelector : MonoBehaviour
|
||||
public int selectedHour;
|
||||
public int selectedMinute;
|
||||
public int duration;
|
||||
public TMP_InputField startTimeInput;
|
||||
public TMP_InputField endTimeInput;
|
||||
|
||||
public void SetYear(int yearIndex)
|
||||
{
|
||||
@@ -43,6 +46,7 @@ public class DateSelector : MonoBehaviour
|
||||
}
|
||||
public DateTime selectedDateTime()
|
||||
{
|
||||
|
||||
DateTime dateAndTime = new DateTime(selectedYear, selectedMonth, selectedDay, selectedHour, selectedMinute, 0, DateTimeKind.Utc);
|
||||
return dateAndTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user