コード例 #1
0
 private void Awake()
 {
     m_minigame = MinigameManager.GetActive <mg_IceFishing>();
     if (Service.IsSet <Localizer>())
     {
         localizer = Service.Get <Localizer>();
     }
     LoadXML();
 }
コード例 #2
0
        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();
        }
コード例 #3
0
        public void Awake()
        {
            mg_IceFishing active = MinigameManager.GetActive <mg_IceFishing>();

            m_gameLogic = active.GetComponentInChildren <mg_if_GameLogic>();
        }