Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnsafeUtility.GetFieldOffset

Declaration

public static int GetFieldOffset(FieldInfo field);

Description

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