public void OnCollectHintShown(HintForItemCollect action) { currCollectInfo = action; switch (action) { case HintForItemCollect.DEFAULT: FadeOutText(CollectingHint); break; case HintForItemCollect.COLLECTSOULS: CollectingHint.text = "<color=#FFFFFF> Right click to collect the soul(s).\n <color=#EDC3FF> Don't collect fake soul(s)."; FadeInText(CollectingHint); break; case HintForItemCollect.COLLECTITEMS: CollectingHint.text = "<color=#FFFFFF> Right click to collect the object(s)."; FadeInText(CollectingHint); break; case HintForItemCollect.KEYLIMIT: CollectingHint.text = "<color=#FFFFFF> You can ONLY carry ONE of these Items."; FadeInText(CollectingHint); break; case HintForItemCollect.FAKESOULWARNING: CollectingHint.text = "<color=red> <size=80> Fake Soul! RUN!!!"; FadeInText(CollectingHint); break; } }
public static void ReportCollectHintShown(HintForItemCollect action) { if (OnCollectHintShown != null) { OnCollectHintShown(action); } }