public static void MarkTriggered(IScenarioTrigger trigger) { PlayerPrefs.SetInt(SaveLoadManager.SCENARIO_TRIGGER_PREFIX + trigger.TriggerId, 1); Triggered(); }
public static bool IsTriggered(IScenarioTrigger trigger) { return(PlayerPrefs.GetInt(SaveLoadManager.SCENARIO_TRIGGER_PREFIX + trigger.TriggerId, 0) != 0); }