文档

Unity Engine

Download Unity

Unity Engine

implicit operator int

Implicit conversion from TypeIndex to an int.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Operator
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

implicit operator int(Int3)

Implicit conversion from TypeIndex to an int.
public static implicit operator int(TypeIndex ti)

Parameters

TypeIndex to convert.

Returns

Type

Description

intTypeIndex.Value integer representation.

implicit operator TypeIndex(TypeInde)

Implicit conversion from an int to a TypeIndex.
public static implicit operator TypeIndex(int value)

Parameters

value

int to convert

Returns

Type

Description

TypeIndexTypeIndex representation of the int