示例#1
0
 public HelpAttribute(string text, UnityMessageType type = UnityMessageType.Info)
 {
     Text = text;
     Type = type;
 }
示例#2
0
 /// <param name="sourceHandle">Name of the declared source: field, property, or method.</param>
 public DynamicHelpAttribute(string sourceHandle, UnityMessageType type = UnityMessageType.Info)
 {
     SourceHandle = sourceHandle;
     Type         = type;
 }