From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/Export/WP8.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Runtime/Export/WP8.cs (limited to 'Runtime/Export/WP8.cs') diff --git a/Runtime/Export/WP8.cs b/Runtime/Export/WP8.cs new file mode 100644 index 0000000..773886c --- /dev/null +++ b/Runtime/Export/WP8.cs @@ -0,0 +1,20 @@ +#if UNITY_WP8 && UNITY_WP8_NATIVE_COMPILER +using System; +using System.Runtime.InteropServices; + +namespace System +{ + [AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Delegate, Inherited = false)] + [ComVisible(true)] + public class SerializableAttribute : Attribute + { + + }; + + [AttributeUsageAttribute(AttributeTargets.Field, Inherited = false)] + [ComVisibleAttribute(true)] + public class NonSerializedAttribute : Attribute + { + }; +} +#endif -- cgit v1.1-26-g67d0