Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


origin

The starting point of the ray in world space.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector2 origin { readonly get; set; }

Remarks

Additional Resources: Ray2D.direction.