Table of Contents

Class Water

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class Water : MonoBehaviour
Inheritance
Water
Inherited Members
Extension Methods

Constructors

Water()

public Water()

Fields

drag

public float drag

Field Value

float

force

public float force

Field Value

float

ignoredRoots

public List<Transform> ignoredRoots

Field Value

List<Transform>

maxDepth

public float maxDepth

Field Value

float

part

public ParticleSystem part

Field Value

ParticleSystem

playerForceM

public float playerForceM

Field Value

float

rend

public MeshRenderer rend

Field Value

MeshRenderer

sfx

public SFX_PlayOneShot sfx

Field Value

SFX_PlayOneShot

waterLevel

public float waterLevel

Field Value

float

Methods

IgnoreFor(Transform, float)

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()

public void Start()

Update()

public void Update()