Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Unicode.Rune

Representation of a Unicode character as a code point.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Struct
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public struct Unicode.Rune

Fields

Value

Description

valueThe code point.

Constructors

Constructor

Description

Rune(System.Int32)Initializes and returns an instance of Rune.

Methods

Method

Description

EqualsReturns true if the value stored in this Rune is equal to an object.
GetHashCodeA hash used for comparisons.
LengthInUtf8BytesReturns the number of bytes required to encode this rune as UTF-8.

Static Methods

Method

Description

IsDigitReturns true if a rune is a numerical digit character.

Operators

Operator

Description

operator ==Evaluates if one is equal to the other.
RuneReturns a rune.
operator !=Evaluates if one is not equal to the other.