Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DestroyProxy(ProxyHandle)

Destroy a space proxy.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool DestroyProxy(PhysicsSpace.ProxyHandle proxyHandle)

Parameters

proxyHandle

The proxy to destroy.

Returns

Type

Description

boolIf the proxy was destroyed. If the proxy handle is invalid, no proxy will be destroyed.