public vp_PropertyDrawerUtility.Space Bottom; // what to add immediately below the helpbox (nothing, an empty line or a separator) /// <summary> /// /// </summary> public vp_HelpBoxAttribute(string message, MessageType type = MessageType.Info, Type targetType = null, Type requireComponent = null,/* int initialHeight = 50, */bool extraHeight = false, vp_PropertyDrawerUtility.Space bottom = vp_PropertyDrawerUtility.Space.Separator) { Message = message; Type = type; Bottom = bottom; ExtraHeight = extraHeight; TargetType = targetType; RequireComponent = requireComponent; }
public vp_PropertyDrawerUtility.Space Bottom; // what to add immediately below the helpbox (nothing, an empty line or a separator) /// <summary> /// /// </summary> public vp_HelpBoxAttribute(string message, MessageType type = MessageType.Info, Type targetType = null, Type requireComponent = null, /* int initialHeight = 50, */ bool extraHeight = false, vp_PropertyDrawerUtility.Space bottom = vp_PropertyDrawerUtility.Space.Separator) { Message = message; Type = type; Bottom = bottom; ExtraHeight = extraHeight; TargetType = targetType; RequireComponent = requireComponent; }
/// <summary> /// /// </summary> public vp_HelpBoxAttribute(System.Type objectType, MessageType type = MessageType.Info, Type targetType = null, Type requireComponent = null,/* int initialHeight = 50, */bool extraHeight = false, vp_PropertyDrawerUtility.Space bottom = vp_PropertyDrawerUtility.Space.Separator) { Message = vp_Help.GetText(objectType); ManualURL = vp_Help.GetURL(objectType); Type = type; Bottom = bottom; ExtraHeight = extraHeight; TargetType = targetType; RequireComponent = requireComponent; }
/// <summary> /// /// </summary> public vp_HelpBoxAttribute(System.Type objectType, MessageType type = MessageType.Info, Type targetType = null, Type requireComponent = null, /* int initialHeight = 50, */ bool extraHeight = false, vp_PropertyDrawerUtility.Space bottom = vp_PropertyDrawerUtility.Space.Separator) { Message = vp_Help.GetText(objectType); ManualURL = vp_Help.GetURL(objectType); Type = type; Bottom = bottom; ExtraHeight = extraHeight; TargetType = targetType; RequireComponent = requireComponent; }