7 const float SendSignalInterval = 0.5f;
9 private float sendSignalTimer;
24 sendSignalTimer += deltaTime;
25 if (sendSignalTimer > SendSignalInterval)
28 sendSignalTimer = SendSignalInterval;
void SendSignal(string signal, string connectionName)
void UpdateOnActiveEffects(float deltaTime)
const float PassivePowerConsumption
override float GetCurrentPowerConsumption(Connection connection=null)
Current power consumption of the device (or amount of generated power if negative)
SonarTransducer(Item item, ContentXElement element)
override void Update(float deltaTime, Camera cam)