URL: https://wiki.studiominus.nl/internalReference/WaterBehaviour.html Title: People Playground Modding - WaterBehaviour ================================================== public class WaterBehaviour Inherits MonoBehaviour, IManagedBehaviour No description provided Fields public float Drag Amount of resistance in movement for submerged objects public float Buoyancy Buoyancy intensity public float LocalSurfaceLevel The surface level of the water (Y coordinate) in local space. Use GetGlobalSurfaceLevel to get this point in global space public HashSet Ignore Contains objects that are completely ignored by the water behaviour.If you also want to ensure IgnoreCollision is properly set, use the functions IgnoreObject(GameObject) and StopIgnoringObject(GameObject).Do not that it's not strictly necessary to use these functions. public GameObject[] ObjectsToBeActiveIfWater If this body of water is not frozen or evaporated, these objects will be active public GameObject Splash Reference to the splash prefab public GameObject BoilingWaterSound Reference to the object that has the AudioSource of the boiling water sound attached public SpriteRenderer SpriteRenderer Reference to the main sprite renderer public Collider2D Trigger Reference to the main trigger collider public LayerMask Layers No description provided public PhysicalBehaviour Ice No description provided public float FreezingPointCelsius No description provided public float BoilingPointCelsius No description provided Properties public bool IsEvaporated No description provided public bool IsFrozen No description provided Methods public float GetGlobalSurfaceLevel() Y coordinate of the surface level of the water body in global space public IEnumerable GetSubmergedObjects() No description provided public void IgnoreObject(GameObject obj) No description provided public void StopIgnoringObject(GameObject obj) No description provided public static bool IsPointUnderWater(Vector3 point) No description provided public static WaterBehaviour GetWaterAtPoint(Vector3 point) No description provided public void UpdateTemperatureState() No description provided public void ManagedFixedUpdate() No description provided public void ManagedUpdate() No description provided public void ManagedLateUpdate() No description provided public bool ShouldUpdate() No description provided