Skip to content

OnInterferenceUpdate

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnInterferenceUpdate( AutoTurret instance )
{
    Puts( "OnInterferenceUpdate works!" );
}

Location

  • AutoTurret::UpdateInterference()
csharp
//---
{
	if (!base.IsOn())
	{
		return;
	}
	if (Interface.CallHook("OnInterferenceUpdate", this) != null)
	{
		return;
	}
	float num = 0f;
	foreach (AutoTurret current in this.nearbyTurrets)
//---

Released under the MIT License.