//using UnityEngine;
//using System.Collections;
//using System.Collections.Generic;
//
//public class createGrid : MonoBehaviour {
//	public int xSize, ySize;
//	void Start () {
//		
//	}
//	void Update () {
//
//	}
//    
//}

using UnityEngine;
using System.Collections;

public class createGrid : MonoBehaviour {


	void Update() {
		Mesh mesh = GetComponent<MeshFilter>().mesh;
		Vector3[] vertices = mesh.vertices;
		Vector3[] normals = mesh.normals;





//		Gridint i = 0;
//		while (i < vertices.Length) {
//			vertices[i] += normals[i] * Mathf.Sin(Time.time);
//			i++;
//		}
//		mesh.vertices = vertices;
	}
}