Skip to content

OnSupplyDropDropped

Usage

  • No return behavior

Example Autogenerated

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

Location

  • CargoPlane::Update()
csharp
//---
		{
			baseEntity.globalBroadcast = true;
			baseEntity.Spawn();
		}
	}
	Interface.CallHook("OnSupplyDropDropped", baseEntity, this);
	base.transform.position = Vector3.Lerp(this.startPos, this.endPos, num);
	base.transform.hasChanged = true;
	if (num >= 1f)
	{
		base.Kill(BaseNetworkable.DestroyMode.None);
//---

Released under the MIT License.