Namespace: | Sirenix.OdinInspector |
Assembly: | Sirenix.OdinInspector.Attributes |
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | AttributeTargets.All, AllowMultiple = false, Inherited = true)]
[Conditional("UNITY_EDITOR")]
public sealed class RequiredInPrefabAssetsAttribute : Attribute, _Attribute
public RequiredInPrefabAssetsAttribute()
public RequiredInPrefabAssetsAttribute(InfoMessageType messageType)
InfoMessageType | messageType | The type of info box to draw. |
public RequiredInPrefabAssetsAttribute(string errorMessage)
System.String | errorMessage | The message to display in the error box. |
public RequiredInPrefabAssetsAttribute(string errorMessage, InfoMessageType messageType)
System.String | errorMessage | The message to display in the error box. |
InfoMessageType | messageType | The type of info box to draw. |
public string ErrorMessage
public InfoMessageType MessageType