기술 자료

Unity Engine

Unity Engine

subStepCount

The number of simulation sub-steps that occurred during the last simulation step.
읽는 시간 1분최근 업데이트: 20일 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public int subStepCount { get; }

Remarks

When simulation sub-stepping occurs, the number of sub-steps that run are monitored with the actual count available for analysis here. The cost of sub-stepping should be monitored with the Unity Profiler using the Physics 2D Module.