Class Water
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class Water : MonoBehaviour
- Inheritance
-
Water
- Inherited Members
-
- Extension Methods
-
Constructors
Water()
Fields
drag
Field Value
- float
force
Field Value
- float
ignoredRoots
public List<Transform> ignoredRoots
Field Value
- List<Transform>
maxDepth
Field Value
- float
part
public ParticleSystem part
Field Value
- ParticleSystem
playerForceM
public float playerForceM
Field Value
- float
rend
Field Value
- MeshRenderer
sfx
public SFX_PlayOneShot sfx
Field Value
- SFX_PlayOneShot
waterLevel
Field Value
- float
Methods
public IEnumerator IgnoreFor(Transform target, float seconds)
Parameters
target
Transform
seconds
float
Returns
- IEnumerator
OnTriggerStay(Collider)
public void OnTriggerStay(Collider col)
Parameters
col
Collider
Start()
Update()