41 public static SoundManager
Sound => SoundManager.current;
45 public bool IsFloat =>
ui.layerFloat.layers.Contains(
this);
47 public virtual string IdHelp => GetType().Name;
49 public static int rnd(
int a)
67 public sealed
override void Init()
85 bool flag = Resources.Load<TextAsset>(CorePath.Text_DialogHelp +
IdHelp);
95 windows[0].buttonHelp.SetActive(flag);
98 windows[0].buttonHelp.onClick.AddListener(delegate
116 EInput.rightMouse.consumed =
false;
117 EInput.rightMouse.ignoreClick =
true;
121 protected sealed
override void Kill()
127 itemTalk.important =
false;
154 if (!_langHint.IsEmpty() &&
Lang.
Has(_langHint))
158 string text =
"h_" + GetType().Name;
165 ui.hud.hint.Show(text);
169 ui.hud.hint.Refresh();
186 if (!componentOf || componentOf.
invOwner ==
null)
static ActionMode DefaultMode
void Activate(bool toggle=true, bool forceActivate=false)
HashSet< string > helpFlags
override void OnRightClick()
override void OnAfterAddLayer()
sealed override void Init()
void TalkHomeMemeber(string id)
static SourceManager sources
void AddLayerToUI(string id)
static ColorProfile Colors
static GameSetting setting
override void OnBeforeAddLayer()
static SoundManager Sound
void TryShowHint(string _langHint=null)
static BaseGameScreen screen
static FactionBranch Branch
sealed override void _Close()
sealed override void Kill()
static bool Has(string id)
static LayerDrama ActivateNerun(string idText)
static PopItem TalkHomeMemeber(string id)
static PopItem TalkMaid(string id)
void Kill(PopItem item, bool instant=false)
static int Range(int min, int max)
static Dictionary< string, SaveData > dictData