// Start is called before the first frame update void Start() { // Just generating grid at start. grid.origin = Vector3.zero; grid.GenerateTiles(); }