2using System.Collections.Generic;
54 InvokeRepeating(
"_Refresh", 0.1f, 0.1f);
70 text += (extra.realDate ? (
" (" + DateTime.Now.ToString(
"H:mm") +
") ") :
"");
103 text = text +
" <size=12>(" + EMono._zone.biome.name +
"/Lv:" + EMono._zone.lv +
"/Danger:" + EMono._zone.DangerLv +
"/_danger:" + EMono._zone._dangerLv +
"/elec:" + EMono._zone.electricity +
")</size>";
118 text = text +
" (" + room.Name +
")";
122 text = text +
" (" + EMono.pc.pos.area.Name +
")";
136 text = text +
" " +
"lucky_month".lang().TagColor(
Msg.
colors.
colors[
"save"]);
140 text +=
" *DEBUG MODE*";
142 textTime.text = text;
146 imageHour.transform.localEulerAngles =
new Vector3(0f, 0f, -date.hour * 30 + 90);
148 _ = base.transform.position.x / (float)Screen.width;
150 this.Rect().SetPivot(flag ? 1 : 0, 0f);
151 rectClock.SetAnchor(flag ? 1 : 0, 1f, flag ? 1 : 0, 1f);
152 rectClock.anchoredPosition =
new Vector2(flag ? (-60) : 60, -75f);
154 rectFieldEffect.anchoredPosition =
new Vector2(flag ? (-120) : 120, -75f);
155 gridFieldEffect.startCorner = (flag ? GridLayoutGroup.Corner.UpperRight : GridLayoutGroup.Corner.UpperLeft);
156 gridFieldEffect.childAlignment = (flag ? TextAnchor.UpperRight : TextAnchor.UpperLeft);
159 if (!(componentsInDirectChild.
refObj is
FieldEffect fieldEffect) || fieldEffect.owner != EMono._zone.fieldElements || fieldEffect.Value == 9)
161 UnityEngine.Object.DestroyImmediate(componentsInDirectChild.gameObject);
201 uIContextMenu.
AddToggle(
"showPeriodOfDay", extra.
period, delegate(
bool a)
211 uIContextMenu.
AddToggle(
"showRoom", extra.
room, delegate(
bool a)
216 uIContextMenu.
AddToggle(
"showClock", extra.
clock, delegate(
bool a)
221 uIContextMenu.
AddToggle(
"showLoc", extra.
loc, delegate(
bool a)
231 SetBaseContextMenu(m);
override Sprite GetSprite()
string GetText(TextFormat format)
static FactionBranch Branch
Dictionary< int, Element > dict
void _WriteNote(UINote n, Chara c, Act act)
void WriteNote(UINote n, ElementContainer owner=null, Action< UINote > onWriteNote=null)
virtual string TextWidgetDate
ElementContainerField fieldElements
virtual string TextWidgetDate
List< Element > ListLandFeats()