Property | Type | Description | |
---|---|---|---|
SplashPrefab | ParticleSystem | ||
SplashSounds | UnityEngine.AudioClip[] | ||
SplashThreshold | float |
Method | Description | |
---|---|---|
OnFluidVolumeEnter ( IDynamicWaterFluidVolume eventWater ) : void |
Called when BuoyantObject enters the water.
|
|
OnFluidVolumeExit ( IDynamicWaterFluidVolume eventWater ) : void |
Called when BuoyantObject exits the water.
|
Method | Description | |
---|---|---|
SpawnSplash ( ParticleSystem splashPrefab, Vector3 position ) : void |
public OnFluidVolumeEnter ( IDynamicWaterFluidVolume eventWater ) : void | ||
eventWater | IDynamicWaterFluidVolume | /// The FluidVolume which the object has entered. /// |
return | void |
public OnFluidVolumeExit ( IDynamicWaterFluidVolume eventWater ) : void | ||
eventWater | IDynamicWaterFluidVolume | /// The FluidVolume which the object has left. /// |
return | void |
public AudioClip[],UnityEngine SplashSounds | ||
return | UnityEngine.AudioClip[] |