예제 #1
0
 /// <summary>
 /// Constructor</summary>
 /// <param name="name">Attribute name</param>
 /// <param name="type">Attribute type</param>
 /// <param name="forceSerialize">Force serialize this attribute even when it has default value</param>
 public AttributeInfo(string name, AttributeType type, bool forceSerialize = false)
     : base(name)
 {
     m_type         = type;
     ForceSerialize = forceSerialize;
 }
예제 #2
0
 /// <summary>
 /// Constructor</summary>
 /// <param name="name">Attribute name</param>
 /// <param name="type">Attribute type</param>
 public AttributeInfo(string name, AttributeType type)
     : base(name)
 {
     m_type = type;
 }