Debug.Log Extensions
Documentation (1.1.9)

◆ DisplayOnScreen() [2/2]

static void Debug.DisplayOnScreen ( [CanBeNull] object  memberOwner,
[NotNull] MemberInfo  classMember 
)
static

Start displaying the name and value of the class member on screen.

Value will continue to be displayed until CancelDisplayOnScreen is called with an expression pointing to the same class member.

Parameters
trackMemberExpression pointing to the class member to display on screen.
memberOwnerInstance of the class that contains the member and from which the value of the member is read.

This can be null if the MemberInfo represents a static member.

Parameters
classMemberMemberInfo representing the class member to display on screen.