[ToString]

Displays the object's ToString() result as a read-only label.

Parameters

Parameter Name
Arguments
Description

Style

string

GUI style name for the label.

Examples

using UnityEngine;
using RenownedGames.Apex;

public class ToStringExample : MonoBehaviour
{
    [ToString]
    public Vector3 position;

    [ToString(Style = "HelpBox")]
    public Transform target;
}