GetFieldOffset(FieldInfo)
Returns the offset of the field relative struct or class it is contained in.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static int GetFieldOffset(FieldInfo field)
Parameters
Returns
Type | Description |
|---|---|
| int |