Documentation

Unity Engine


Unity Engine


implicit operator int

Implicit conversion from TypeIndex to an int.
Read time 1 minuteLast updated 4 days ago

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