We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f61bceb commit ebfb878Copy full SHA for ebfb878
samples/Basic/Assets/Scripts/Test03.cs
@@ -6,6 +6,9 @@ public class Test03 : MonoBehaviour
6
void Start()
7
{
8
GetComponent<Text>().text = "03:" + GetStringLength("Compiler");
9
+#if __COMPILER_OPTION_TEST__
10
+ GetComponent<Text>().text += ":OK";
11
+#endif
12
}
13
14
int GetStringLength(string str)
@@ -22,4 +25,3 @@ int GetStringLength(string str)
22
25
return len;
23
26
24
27
-
samples/Basic/Assets/gmcs.rsp
@@ -1 +1 @@
1
--unsafe
+-unsafe -define:__COMPILER_OPTION_TEST__
samples/Basic/Assets/smcs.rsp
0 commit comments