UnsafeUtility.GetFieldOffset

public static int GetFieldOffset(FieldInfo field);

Description 描述

Returns the offset of the field relative struct or class it is contained in.