Skip to content

CanWaterBallSplash

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanWaterBallSplash( ItemDefinition liquidDef, Vector3 position, float radius, int amount )
{
    Puts( "CanWaterBallSplash works!" );
}

Location

  • WaterBall::DoSplash(UnityEngine.Vector3 position, float radius, ItemDefinition liquidDef, int amount)
csharp
public static bool DoSplash(Vector3 position, float radius, ItemDefinition liquidDef, int amount)
{
	object returnvar = Interface.CallHook("CanWaterBallSplash", liquidDef, position, radius, amount);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	List<BaseEntity> list = Pool.Get<List<BaseEntity>>();
//---

Released under the MIT License.