LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

Ray2D.origin

public Vector2 origin;

Description

The starting point of the ray in world space.

See Also: direction.