ドキュメント

Unity Engine

Unity Engine

ClearProxies()

Clear all space proxies. You should no longer use any previously returned PhysicsSpace.ProxyHandle as they may be invalid or direct to the wrong proxy in the future. The space will continue with a similar proxy capacity therefore if full de-allocation is required, the space should be destroyed and a new one created.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public bool ClearProxies()

Returns

Type

Description

boolIf the proxies were destroyed. If the space is invalid, no proxies will be destroyed.