Skip to content

Mirror::InspectorHelper

Public Functions

Name
IEnumerable< FieldInfo > GetAllFields(Type type, Type deepestBaseType)
Gets all public and private fields for a type
bool IsSyncVar(this FieldInfo field)
bool IsSerializeField(this FieldInfo field)
bool IsVisibleField(this FieldInfo field)
bool IsSyncObject(this FieldInfo field)
bool HasShowInInspector(this FieldInfo field)
bool IsVisibleSyncObject(this FieldInfo field)

Public Functions Documentation

function GetAllFields

static inline IEnumerable< FieldInfo > GetAllFields(
    Type type,
    Type deepestBaseType
)

Gets all public and private fields for a type

Parameters:

  • type
  • deepestBaseType Stops at this base type (exclusive)

Return:

function IsSyncVar

static inline bool IsSyncVar(
    this FieldInfo field
)

function IsSerializeField

static inline bool IsSerializeField(
    this FieldInfo field
)

function IsVisibleField

static inline bool IsVisibleField(
    this FieldInfo field
)

function IsSyncObject

static inline bool IsSyncObject(
    this FieldInfo field
)

function HasShowInInspector

static inline bool HasShowInInspector(
    this FieldInfo field
)

function IsVisibleSyncObject

static inline bool IsVisibleSyncObject(
    this FieldInfo field
)

Updated on 27 January 2021 at 18:44:11 UTC