Debug.Log Extensions
Documentation (1.1.9)

◆ LogState() [2/3]

static void Debug.LogState ( [CanBeNull] object  target,
bool  includePrivate,
bool  includeStatic = false 
)
static

Logs to the Console the name and value of every field and property of target matched using the specified settings.

With a small number of listed members a comma will be used to separate them, and with a larger number of members a line break will be used.

Parameters
targetobject instance whose members are to be listed.
includePrivateIf false then only public members will be listed; otherwise, non-public members will also be listed.
includeStaticIf false then only instance members will be listed; otherwise, static members will also be listed.