Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

Rune

struct in Unity.Collections

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Representation of a Unicode character as a code point.

Properties

Property Description
value The code point.

Constructors

Constructor Description
Unicode.Rune Initializes and returns an instance of Rune.

Public Methods

Method Description
Equals Returns true if the value stored in this Rune is equal to an object.
GetHashCode A hash used for comparisons.
LengthInUtf8Bytes Returns the number of bytes required to encode this rune as UTF-8.

Static Methods

Method Description
IsDigit Returns true if a rune is a numerical digit character.

Operators

Operator Description
operator != Evaluates if one is not equal to the other.
operator == Evaluates if one is equal to the other.
Rune Returns a rune.