Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PI

Get the value of PI used internally by the physics system. Using this will help with determinism.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public static float PI { get; }