Skip to content

OnItemDropped

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnItemDropped( Item instance, BaseEntity arg_33_0 )
{
    Puts( "OnItemDropped works!" );
}

Location

  • Item::Drop(UnityEngine.Vector3 vPos, UnityEngine.Vector3 vVelocity, UnityEngine.Quaternion rotation)
csharp
//---
	}
	else
	{
		this.Remove(0f);
	}
	Interface.CallHook("OnItemDropped", this, baseEntity);
	this.RemoveFromContainer();
	return baseEntity;
}

Released under the MIT License.