프로퍼티 | 타입 | 설명 | |
---|---|---|---|
SplashPrefab | ParticleSystem | ||
SplashSounds | UnityEngine.AudioClip[] | ||
SplashThreshold | float |
메소드 | 설명 | |
---|---|---|
OnFluidVolumeEnter ( IDynamicWaterFluidVolume eventWater ) : void |
Called when BuoyantObject enters the water.
|
|
OnFluidVolumeExit ( IDynamicWaterFluidVolume eventWater ) : void |
Called when BuoyantObject exits the water.
|
메소드 | 설명 | |
---|---|---|
SpawnSplash ( ParticleSystem splashPrefab, Vector3 position ) : void |
public OnFluidVolumeEnter ( IDynamicWaterFluidVolume eventWater ) : void | ||
eventWater | IDynamicWaterFluidVolume | /// The FluidVolume which the object has entered. /// |
리턴 | void |
public OnFluidVolumeExit ( IDynamicWaterFluidVolume eventWater ) : void | ||
eventWater | IDynamicWaterFluidVolume | /// The FluidVolume which the object has left. /// |
리턴 | void |