private void Awake() { m_minigame = MinigameManager.GetActive <mg_IceFishing>(); if (Service.IsSet <Localizer>()) { localizer = Service.Get <Localizer>(); } LoadXML(); }
public void ShockRod() { mg_IceFishing active = MinigameManager.GetActive <mg_IceFishing>(); active.PlaySFX("mg_if_sfx_JellyfishElectrify"); m_shockTimeRemaining = active.Resources.Variables.ShockTime; m_hook.Shock(); m_line.Shock(); m_penguin.Shock(); m_logic.LoseLife(); }
public void Awake() { mg_IceFishing active = MinigameManager.GetActive <mg_IceFishing>(); m_gameLogic = active.GetComponentInChildren <mg_if_GameLogic>(); }