OnSupplyDropDropped
Usage
- No return behavior
Example Autogenerated
csharp
private void OnSupplyDropDropped( BaseEntity baseEntity, CargoPlane instance )
{
Puts( "OnSupplyDropDropped works!" );
}Location
- CargoPlane::Update()
csharp
//---
BaseEntity baseEntity = GameManager.server.CreateEntity(prefabDrop.resourcePath, base.transform.position);
if ((bool)baseEntity)
{
baseEntity.globalBroadcast = true;
baseEntity.Spawn();
Interface.CallHook("OnSupplyDropDropped", baseEntity, this);
}
}
base.transform.position = Vector3.Lerp(startPos, endPos, num);
base.transform.hasChanged = true;
if (num >= 1f)
//---