EnumToInt<T>(T)
Gets the integer representation of an enum value without boxing.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public static int EnumToInt<T>(T enumValue) where T : struct, IConvertible
Parameters
Returns
Type | Description |
|---|---|
| int | Returns the integer representation of the enum value. |