summaryrefslogtreecommitdiff
path: root/Runtime/Export/CanConvertToFlash.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Export/CanConvertToFlash.cs
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Export/CanConvertToFlash.cs')
-rw-r--r--Runtime/Export/CanConvertToFlash.cs17
1 files changed, 17 insertions, 0 deletions
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
+{
+}
+
+}