From e47f122ce5d69c8781eac4d59163cf3c3b7a8b5d Mon Sep 17 00:00:00 2001 From: Patrick Dawson Date: Sat, 28 Oct 2023 00:33:43 +0200 Subject: [PATCH] Mobile export info --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 6928729..7f7b6e7 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,18 @@ This is the rest of the public API. You typically won't need to call any of thes That's about it. Everything else is provided by ImGui itself, via ImGui.NET. +### Mobile export + +ImGui.NET does not support iOS or Android, so all ImGui related code should be conditionally disabled if you want to export for these platforms. For example: + +```csharp +#if !GODOT_MOBILE +ImGui.Begin("my window"); +// ... +ImGui.End(); +#endif +``` + ## Package managers