CommentComponent Class

Summary

Holds a text comment for a UnityEngine.GameObject which can be viewed and edited in the inspector.
Assembly
Kybernetik.InspectorGadgets.dll
Namespace
InspectorGadgets
Interfaces
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type-.->Interface0["IComment"] click Interface0 "/inspector-gadgets/api/InspectorGadgets/IComment" Type["CommentComponent"] class Type type-node

Syntax

[HelpURL(Strings.APIDocumentationURL + "/" + nameof(CommentComponent))]
public sealed class CommentComponent : MonoBehaviour, IComment

Remarks

By default, this script sets itself to be excluded from the build.

Attributes

Type Description
HelpURLAttribute

Properties

Name Value Summary
IncludeInBuild bool
False if this script is set to UnityEngine.HideFlags.DontSaveInBuild.
Text string
[UnityEngine.SerializeField] [InspectorGadgets.IComment] The text of this comment.