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; }
public void Initialize(mg_if_SpawnManager p_spawnManager) { m_spawnManager = p_spawnManager; }