Beispiel #1
0
 void OnEnable()
 {
     altitude = (AltitudeMap)target;
 }
 void UpdateMaps()
 {
     altitudeMapGen = FindObjectOfType <AltitudeMap> ();
     noiseGen       = FindObjectOfType <NoiseGenerator> ();
     altitudeMapGen.UpdateMap();
 }