@@ -102,10 +102,6 @@ Preprocessor defines
102102Godot has a set of defines that allow you to change your C# code
103103depending on the environment you are compiling to.
104104
105- .. note :: If you created your project before Godot 3.2, you have to modify
106- or regenerate your `csproj ` file to use this feature
107- (compare ``<DefineConstants> `` with a new 3.2+ project).
108-
109105Examples
110106~~~~~~~~
111107
@@ -115,10 +111,7 @@ For example, you can change code based on the platform:
115111
116112 public override void _Ready ()
117113 {
118- #if GODOT_SERVER
119- // Don't try to load meshes or anything, this is a server!
120- LaunchServer ();
121- #elif GODOT_32 || GODOT_MOBILE || GODOT_WEB
114+ #if (GODOT_32 || GODOT_MOBILE || GODOT_WEB )
122115 // Use simple objects when running on less powerful systems.
123116 SpawnSimpleObjects ();
124117 #else
@@ -167,7 +160,7 @@ Full list of defines
167160* One of ``GODOT_64 `` or ``GODOT_32 `` is defined depending on if the architecture is 64-bit or 32-bit.
168161
169162* One of ``GODOT_LINUXBSD ``, ``GODOT_WINDOWS ``, ``GODOT_OSX ``,
170- ``GODOT_ANDROID ``, ``GODOT_IOS ``, ``GODOT_HTML5 ``, or `` GODOT_SERVER ``
163+ ``GODOT_ANDROID ``, ``GODOT_IOS ``, ``GODOT_WEB ``
171164 depending on the OS. These names may change in the future.
172165 These are created from the ``get_name() `` method of the
173166 :ref: `OS <class_OS >` singleton, but not every possible OS
0 commit comments