Documentation

Unity Engine

Unity Engine

implicit operator int

Implicit conversion from SystemTypeIndex 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 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