Example #1
0
    //public RectTransform target;


    void Start()
    {
        instance = this;
        SetHours();
        InvokeRepeating("UpdateList", 0, repeatTimeOnMinutesToUpdate * 60);
        //SnapTo(target);
    }
Example #2
0
 void Enable()
 {
     instance = this;
 }
Example #3
0
 public void dayTimeCheckerTest(string date, int duration, bool expected)
 {
     Assert.AreEqual(DayChecker.IsDay(DateTime.Parse(date), TimeSpan.FromMinutes(duration)), expected);
 }