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/CanConvertToFlash.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Runtime/Export/CanConvertToFlash.cs (limited to 'Runtime/Export/CanConvertToFlash.cs') diff --git a/Runtime/Export/CanConvertToFlash.cs b/Runtime/Export/CanConvertToFlash.cs new file mode 100644 index 0000000..7e1da8c --- /dev/null +++ b/Runtime/Export/CanConvertToFlash.cs @@ -0,0 +1,17 @@ +using System.Diagnostics; + +namespace UnityEngine +{ +[Conditional("UNITY_FLASH")] +internal class CanConvertToFlashAttribute : System.Attribute +{ + public CanConvertToFlashAttribute() {} + public CanConvertToFlashAttribute(params string[] members) {} +} +// ToDo: Move this to generic place +[Conditional("UNITY_FLASH"), Conditional("UNITY_WINRT")] +internal class MarshallOnlyFirstField : System.Attribute +{ +} + +} -- cgit v1.1-26-g67d0