public void GenerateRiver(MapGrid MapGrid) { var river = gameObject.AddComponent <RiverMB>(); Debug.Log("Initializing River"); Controller.Initialize(MapGrid); Controller.BuildRiver(MapGrid); }