diff --git a/Assets/FlashTools/Scripts/FTRuntime/SwfAsset.cs b/Assets/FlashTools/Scripts/FTRuntime/SwfAsset.cs index 5418af7..1673072 100644 --- a/Assets/FlashTools/Scripts/FTRuntime/SwfAsset.cs +++ b/Assets/FlashTools/Scripts/FTRuntime/SwfAsset.cs @@ -3,6 +3,7 @@ using FTRuntime.Internal; using System.Collections.Generic; namespace FTRuntime { + [PreferBinarySerialization] public class SwfAsset : ScriptableObject { [HideInInspector] public byte[] Data; diff --git a/Assets/FlashTools/Scripts/FTRuntime/SwfClipAsset.cs b/Assets/FlashTools/Scripts/FTRuntime/SwfClipAsset.cs index afd0f39..df0f818 100644 --- a/Assets/FlashTools/Scripts/FTRuntime/SwfClipAsset.cs +++ b/Assets/FlashTools/Scripts/FTRuntime/SwfClipAsset.cs @@ -3,6 +3,7 @@ using FTRuntime.Internal; using System.Collections.Generic; namespace FTRuntime { + [PreferBinarySerialization] public class SwfClipAsset : ScriptableObject { [System.Serializable] public class SubMeshData {