文档

Unity Engine

Download Unity

Unity Engine

implicit operator int

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

Definition

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

implicit operator int(Int3)

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

Parameters

SystemTypeIndex to convert.

Returns

Type

Description

intSystemTypeIndex.Value integer representation.

implicit operator SystemTypeIndex(SystemTypeInde)

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

Parameters

value

int to convert

Returns

Type

Description

SystemTypeIndexSystemTypeIndex representation of the int