9 public static void Refresh()
19 public override void OnActivate()
21 WidgetSystemIndicator.Instance =
this;
26 public void _Refresh()
28 this.goMuteBGM.SetActive(
EMono.Sound.muteBGM);
29 this.goHideBalloon.SetActive(!
EMono.ui.rectDynamic.gameObject.activeSelf);
30 this.goLowBlock.SetActive(
EMono.game.config.showRoof);
31 this.textDebug.SetActive(
EMono.debug.enable);
32 this.textDebug.text =
"*Debug* " +
EMono.core.version.GetText();
33 this.RebuildLayout(
true);
37 public override void OnFlip()
39 base.GetComponent<HorizontalLayoutGroup>().childAlignment = (this.flip ? TextAnchor.LowerRight : TextAnchor.LowerLeft);
40 this.Rect().pivot =
new Vector2((
float)(this.flip ? 1 : 0), 0f);
47 public GameObject goMuteBGM;
50 public GameObject goHideBalloon;
53 public GameObject goLowBlock;
56 public UIText textDebug;