Skip to content

OnItemDropped

Usage

  • No return behavior

Example Autogenerated

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

Location

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

Released under the MIT License.