Skip to content

OnEntityGroundMissing

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnEntityGroundMissing( BaseEntity baseEntity )
{
    Puts( "OnEntityGroundMissing works!" );
}

Location

  • DestroyOnGroundMissing::OnGroundMissing()
csharp
private void OnGroundMissing()
{
	BaseEntity baseEntity = base.gameObject.ToBaseEntity(false);
	if (baseEntity != null)
	{
		if (Interface.CallHook("OnEntityGroundMissing", baseEntity) != null)
		{
			return;
		}
		BaseCombatEntity baseCombatEntity = baseEntity as BaseCombatEntity;
		if (baseCombatEntity != null)
//---

Released under the MIT License.