Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


offset

Offset of this field.
Read time 1 minuteLast updated 6 days ago

Definition

Warning
Deprecated. This API is outdated and will be removed. Please check out the Memory Profiler Package (https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/)
public int offset { get; }

Remarks

This offset of this field, from the address of the managed object start (including the object header). If offset is -1, it means this field is a ThreadLocal field. If the field is static, this offset indexes into the TypeDescription.staticFieldBytes.