using UnityEngine;
using System.Collections;

public class fire : MonoBehaviour {
	
	
	// Use this for initialization
	void Start () {
	
	  //renderer.material.color = 
		//	new Color((float)Random.Range(0.7f,1.0f),(float)Random.Range(0.7f,1.0f),(float)Random.Range(0.7f,1.0f),1.0f);
	}
	
	// Update is called once per frame
	void Update () {
		
		if(transform.position.y<0.4f)
			Destroy(gameObject);	
		
	}
	
	
}
