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.

LineUtility

class in UnityEngine

Description

A collection of common line functions.

Static Methods

SimplifyGenerates a simplified version of the original line by removing points that fall within the specified tolerance.