OnCrateLanded
Usage
- No return behavior
Example Autogenerated
csharp
private void OnCrateLanded( HackableLockedCrate instance )
{
Puts( "OnCrateLanded works!" );
}Location
- HackableLockedCrate::LandCheck()
csharp
//---
{
if (!hasLanded && Physics.Raycast(new Ray(base.transform.position + Vector3.up * 0.5f, Vector3.down), out var hitInfo, 1f, 1084293377))
{
Effect.server.Run(landEffect.resourcePath, hitInfo.point, Vector3.up);
hasLanded = true;
Interface.CallHook("OnCrateLanded", this);
CancelInvoke(LandCheck);
}
}