public void DisplaySongOverMessage() { GameObject guiGO = GameObject.FindWithTag("GUIMaster"); GUIMaster pGUIMaster = guiGO.GetComponent <GUIMaster>(); pGUIMaster.ShowText("Song Over", "ESC to Menu", string.Format("{0} Points!", m_iOverallPoints)); }
private void ItlDisplayGoToNextLevelMessage() { GameObject guiGO = GameObject.FindWithTag("GUIMaster"); GUIMaster pGUIMaster = guiGO.GetComponent <GUIMaster>(); pGUIMaster.ShowText("GROOVY", "Press RETURN"); }
private void ItlDisplayOverallWinningMessage() { GameObject guiGO = GameObject.FindWithTag("GUIMaster"); GUIMaster pGUIMaster = guiGO.GetComponent <GUIMaster>(); pGUIMaster.ShowText("YOU WON!", "ESC to Menu", string.Format("{0} Points!", m_iOverallPoints)); }
public void OnDiscoPeteDied() { Debug.Log("LevelAndPointBehaviour::OnDiscoPeteDied"); m_pGUIMaster.ShowText("YOU DIED!", "Press R to restart"); m_bDiscoPeteCurrentlyDead = true; m_iFewDeathBonus -= 10; if (m_iFewDeathBonus < 0) { m_iFewDeathBonus = 0; } m_bCounting = false; }