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.

CapsuleCollider2D.direction

Switch to Manual
public CapsuleDirection2D direction;

Description

The direction that the capsule sides can extend.