文档

Unity Engine

Unity Engine

implicit operator Rune(char)

Returns a rune.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Operator
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

implicit operator Rune(Run)

public static implicit operator Unicode.Rune(char codepoint)

Parameters

codepoint

A code point.

Returns

Type

Description

RuneA rune.

Remarks

Because a char is 16-bit, it can only represent the first 2^16 code points, not all 1.1 million.