useMultithreading
Should physics simulation use multithreading?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public bool useMultithreading { get; set; }
Remarks
Turning on multithreading executes the simulation steps using the job system, and uses the options in PhysicsJobOptions2D to control how to achieve that. Turning off multithreading executes the simulation only on the main thread, and does not use the options in PhysicsJobOptions2D.