Пример #1
0
 private void RegisterPlateWaveGenerators()
 {
     // Register all plate wave generators
     WaveGenerator[] generators = snappedPlate.GetComponentsInChildren <WaveGenerator>();
     foreach (WaveGenerator generator in generators)
     {
         waterPlane.RegisterWaveGenerator(generator);
     }
 }