GetFieldOffset(FieldInfo)
Returns the offset of the field relative struct or class it is contained in.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.CoreModule
public static int GetFieldOffset(FieldInfo field)
Parameters
Returns
Type | Description |
|---|---|
| int |