Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


forward

Calculate the vector from SegmentGeometry.point1 to SegmentGeometry.point2. See SegmentGeometry.backward.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly Vector2 forward { get; }