示例#1
0
        public override void OnBeforeSerialize()
        {
            base.OnBeforeSerialize();
            HighlightedPropertyIdSerializedGuid = GuidUtils.GuidToSerializedGuid(HighlightedSpritePropertyId);
            PressedPropertyIdSerializedGuid     = GuidUtils.GuidToSerializedGuid(PressedSpritePropertyId);
#if UNITY_2019_1_OR_NEWER
            SelectedPropertyIdSerializedGuid = GuidUtils.GuidToSerializedGuid(SelectedSpritePropertyId);
#endif
            DisabledPropertyIdSerializedGuid = GuidUtils.GuidToSerializedGuid(DisabledSpritePropertyId);
        }
示例#2
0
 public void OnBeforeSerialize()
 {
     SerializedGuid = GuidUtils.GuidToSerializedGuid(m_id);
 }
示例#3
0
 public virtual void OnBeforeSerialize()
 {
     ThemeIdSerializedGuid   = GuidUtils.GuidToSerializedGuid(ThemeId);
     VariantIdSerializedGuid = GuidUtils.GuidToSerializedGuid(VariantId);
 }