PreferBinarySerialization for Unity 5.5

This commit is contained in:
2017-02-11 18:31:03 +07:00
parent a0a223b4bb
commit 16ee7896bf
2 changed files with 6 additions and 0 deletions

View File

@@ -3,6 +3,9 @@ using FTRuntime.Internal;
using System.Collections.Generic;
namespace FTRuntime {
#if UNITY_5_5_OR_NEWER
[PreferBinarySerialization]
#endif
public class SwfAsset : ScriptableObject {
[HideInInspector]
public byte[] Data;

View File

@@ -3,6 +3,9 @@ using FTRuntime.Internal;
using System.Collections.Generic;
namespace FTRuntime {
#if UNITY_5_5_OR_NEWER
[PreferBinarySerialization]
#endif
public class SwfClipAsset : ScriptableObject {
[System.Serializable]
public class SubMeshData {