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.direction

public Vector2 direction;

Description

The direction of the ray in world space.

See Also: origin.