Skip to content

OnCrateLanded

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnCrateLanded( HackableLockedCrate instance )
{
    Puts( "OnCrateLanded works!" );
}

Location

  • HackableLockedCrate::LandCheck()
csharp
public void LandCheck()
{
	if (this.hasLanded)
	{
		Interface.CallHook("OnCrateLanded", this);
		return;
	}
	RaycastHit raycastHit;
	if (Physics.Raycast(new Ray(base.transform.position + Vector3.up * 0.5f, Vector3.down), out raycastHit, 1f, 1084293377))
	{
//---

Released under the MIT License.