Skip to content

OnEntityStabilityCheck

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnEntityStabilityCheck( StabilityEntity instance )
{
    Puts( "OnEntityStabilityCheck works!" );
}

Location

  • StabilityEntity::StabilityCheck()
csharp
//---
{
	if (base.IsDestroyed)
	{
		return;
	}
	if (Interface.CallHook("OnEntityStabilityCheck", this) != null)
	{
		return;
	}
	if (this.supports == null)
	{
//---

Released under the MIT License.