OnInterferenceUpdate
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private object OnInterferenceUpdate( AutoTurret instance )
{
Puts( "OnInterferenceUpdate works!" );
return null;
}Location
- AutoTurret::RecalculateInterference()
csharp
private bool RecalculateInterference()
{
object obj = Interface.CallHook("OnInterferenceUpdate", this);
if (obj is bool)
{
return (bool)obj;
}
bool flag = HasInterference();
//---