DetailedInfoBoxAttribute

DetailedInfoBox is used on any property, and displays a message box that can be expanded to show more details.

Use this to convey a message to a user, and give them the option to see more details.

namespace Sirenix.OdinInspector
{
[AttributeUsageAttribute((AttributeTargets)448, AllowMultiple = True, Inherited = True)]
[DontApplyToListElementsAttribute]
public class DetailedInfoBoxAttribute : Attribute
}

Requirements

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector
Version: 1.0.4.1

See Also

Constructors

Definition Description
DetailedInfoBoxAttribute(string, string, InfoMessageType, string) Displays a message box with hideable details.

Properties

Return Type Definition Description
string Details The hideable details of the message box.
InfoMessageType InfoMessageType Type of the message box.
string Message The message for the message box.
string VisibleIf Optional name of a member to hide or show the message box.

Example

The following example shows how DetailedInfoBox is used on a field.

public class MyComponent : MonoBehaviour
{
	[DetailedInfoBox("This is a message", "Here is some more details about that message")]
	public int MyInt;
}