mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-15 12:29:49 +07:00
PreferBinarySerialization for swf assets
This commit is contained in:
@@ -3,6 +3,7 @@ using FTRuntime.Internal;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace FTRuntime {
|
namespace FTRuntime {
|
||||||
|
[PreferBinarySerialization]
|
||||||
public class SwfAsset : ScriptableObject {
|
public class SwfAsset : ScriptableObject {
|
||||||
[HideInInspector]
|
[HideInInspector]
|
||||||
public byte[] Data;
|
public byte[] Data;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ using FTRuntime.Internal;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace FTRuntime {
|
namespace FTRuntime {
|
||||||
|
[PreferBinarySerialization]
|
||||||
public class SwfClipAsset : ScriptableObject {
|
public class SwfClipAsset : ScriptableObject {
|
||||||
[System.Serializable]
|
[System.Serializable]
|
||||||
public class SubMeshData {
|
public class SubMeshData {
|
||||||
|
|||||||
Reference in New Issue
Block a user