using UnityEngine;
using System.Collections;

public class LavaEffect : MonoBehaviour {



	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		GetComponent<MeshRenderer>().material.mainTextureOffset = new Vector2( Mathf.Sin(Time.time/2f) / 100f, Mathf.Sin(Time.time/3f) / 200f );
	}
}
