コード例 #1
0
            public SerializedArrayViewProperty(SerializedStringView name, SerializedArrayView value, IPropertyAttributeCollection attributes = null)
            {
                m_Name       = name;
                m_Value      = value;
                m_Attributes = attributes;

                // @HACK
                // Since we don't have an efficient indexer. We will pay the allocation cost on creation of the property.
                m_Elements = m_Value.ToArray();
            }
コード例 #2
0
 public UInt64Property(SerializedStringView name, SerializedValueView value, IPropertyAttributeCollection attributes = null)
 {
     m_Name       = name;
     m_Value      = value;
     m_Attributes = attributes;
 }