Transform MakeMyMinute() { if (tof.minuteParent == null) { MakeMyHour(); } tom = new TimeObjMinute(m_Date, tof.minuteParent, this, false); isMinute = true; tof.secondParent = tom.mGo.transform; return(tom.mGo.transform); }
InflateMinutes(DateTime _dt, Transform _parent, TimeObj _dictValue, bool cascade) { minutes = new Dictionary <int, TimeObjMinute>(); //todo rid of this for (int i = 0; i < 60; ++i) { DateTime ndt = _dt.AddMinutes(i); TimeObjMinute tom = new TimeObjMinute(ndt.Neuter(), hGo.transform, dictValue, cascade); tom.mGo.SetActive(true); minutes.Add(i, tom); } //speak to the new 60 minutes hGo.BroadcastMessage("ShowMe", this); }
public void Init(TimeObjMinute _tom) { tom = _tom; U.Log("AAAAAAAAAAA " + tom.ToString()); }
InflateMinute(DateTime _dt, Transform _parent, TimeObj _dictValue) { //The tom should add itself to the dict, MakeTime will have to stop doing that TimeObjMinute tom = new TimeObjMinute(_dt, _parent, _dictValue, false); }