Skip to content

OnContainerDropItems

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnContainerDropItems( ItemContainer container )
{
    Puts( "OnContainerDropItems works!" );
}

Location

  • DropUtil::DropItems(ItemContainer container, UnityEngine.Vector3 position)
csharp
//---
	}
	if (container.itemList == null)
	{
		return;
	}
	if (Interface.CallHook("OnContainerDropItems", container) != null)
	{
		return;
	}
	float num = 0.25f;
	Item[] array = container.itemList.ToArray();
//---

Released under the MIT License.