Water changed with July 2023 patch and this plugin no longer compiles
updates please?
Water changed with July 2023 patch and this plugin no longer compiles
Error while compiling: BuoyantSupplyDrops.cs(66,84): error CS1501: No overload for method `Factor' takes `1' arguments Thanks!!
I guess we're not getting an update?
Waterlevel.Factor seems to have three additional parameters now, one of which has a default value of null
public static float Factor(Bounds bounds, bool waves, bool volumes, BaseEntity forEntity = null)
Maybe its enough to specify false for the two new mandatory ones (waves, volumes) in line 64:
if (UnityEngine.Time.frameCount % detectionRate == 0 && WaterLevel.Factor(_supplyDrop.WorldSpaceBounds().ToBounds(), false, false) > 0.65f) 0x2422
Waterlevel.Factor seems to have three additional parameters now, one of which has a default value of null
public static float Factor(Bounds bounds, bool waves, bool volumes, BaseEntity forEntity = null)
Maybe its enough to specify false for the two new mandatory ones (waves, volumes) in line 64:Didn't test it, let me know if it works.if (UnityEngine.Time.frameCount % detectionRate == 0 && WaterLevel.Factor(_supplyDrop.WorldSpaceBounds().ToBounds(), false, false) > 0.65f)
I'm at work and I'm leaving for Florida in the morning so I won't be able to test this.