コード例 #1
0
 public void Start()
 {
     m_spawnManager = GetComponent <mg_if_SpawnManager>();
     m_fishingRod   = GetComponentInChildren <mg_if_FishingRod>();
     m_iceBox       = GetComponentInChildren <mg_if_IceBox>();
     Lives          = m_variables.StartingLives;
     GameOver       = false;
     m_resultShown  = false;
     FishCaught     = 0;
     m_inputManager = new mg_if_InputManager(MinigameManager.GetActive().MainCamera, this, mouseInputObserver);
     m_initialized  = true;
 }
コード例 #2
0
 public void Initialize(mg_if_SpawnManager p_spawnManager)
 {
     m_spawnManager = p_spawnManager;
 }