C# Class DW_CharacterRipples, Lucid

Inheritance: MonoBehaviour
Mostrar archivo Open project: hydrater/Lucid

Public Properties

Property Type Description
JumpSplashForce float
JumpSplashPrefab ParticleSystem
JumpSplashRadius float
SplashForce float
SplashRadius float
SplashSounds UnityEngine.AudioClip[]
SplashThreshold float

Protected Methods

Method Description
AllowSplash ( ) : IEnumerator
FixedUpdate ( ) : void
SpawnSplash ( ParticleSystem splashPrefab, Vector3 position ) : void

Method Details

AllowSplash() protected method

protected AllowSplash ( ) : IEnumerator
return IEnumerator

FixedUpdate() protected method

protected FixedUpdate ( ) : void
return void

SpawnSplash() protected method

protected SpawnSplash ( ParticleSystem splashPrefab, Vector3 position ) : void
splashPrefab ParticleSystem
position Vector3
return void

Property Details

JumpSplashForce public_oe property

public float JumpSplashForce
return float

JumpSplashPrefab public_oe property

The ParticleSystem prefab that will be instantiated on impact
public ParticleSystem JumpSplashPrefab
return ParticleSystem

JumpSplashRadius public_oe property

public float JumpSplashRadius
return float

SplashForce public_oe property

public float SplashForce
return float

SplashRadius public_oe property

public float SplashRadius
return float

SplashSounds public_oe property

The AudioClip[] array, from which one random sound will be played upon impact.
public AudioClip[],UnityEngine SplashSounds
return UnityEngine.AudioClip[]

SplashThreshold public_oe property

Minimum rigibody.velocity.y value to instantiate splash.
public float SplashThreshold
return float