﻿using UnityEngine;
using System.Collections;

public class HeavyRainSounds : MonoBehaviour {

		public GameObject StormText;
		// Use this for initialization
		void Start () {
		audio.volume = 0.0f;
		}
		
		// Update is called once per frame
		void Update () {
			
			if (Time.time >= 5.0)
			{
			StormText.GetComponent<TextMesh>().text = " ";
			}


			if (Time.time >= 15.0f)
			{
				
				audio.volume += 0.1f * Time.deltaTime;
				
			}
		}
		
	}
