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); }
public void OnBeforeSerialize() { SerializedGuid = GuidUtils.GuidToSerializedGuid(m_id); }
public virtual void OnBeforeSerialize() { ThemeIdSerializedGuid = GuidUtils.GuidToSerializedGuid(ThemeId); VariantIdSerializedGuid = GuidUtils.GuidToSerializedGuid(VariantId); }