기술 자료

Unity Engine

Unity Engine

Explode(ExplosionDefinition)

Apply a radial explosion applying impulses away from the position to all bodies found within in the radius.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public void Explode(PhysicsWorld.ExplosionDefinition definition)

Parameters

The explosion definition describing how the explosion should be handled.