From 10bf9e6e959dee964cfb18144f82273602a31cb8 Mon Sep 17 00:00:00 2001 From: RoiArthurB Date: Wed, 11 Feb 2026 15:08:10 +0700 Subject: [PATCH] feat: Add GAML line in generator to disable pop-up asking to close simulation before restarting one --- .../gaml/extension/unity/commands/wizard/VRModelGenerator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GAMA Plugin/gaml.extension.unity/src/gaml/extension/unity/commands/wizard/VRModelGenerator.java b/GAMA Plugin/gaml.extension.unity/src/gaml/extension/unity/commands/wizard/VRModelGenerator.java index 240e1b5..151eec9 100755 --- a/GAMA Plugin/gaml.extension.unity/src/gaml/extension/unity/commands/wizard/VRModelGenerator.java +++ b/GAMA Plugin/gaml.extension.unity/src/gaml/extension/unity/commands/wizard/VRModelGenerator.java @@ -463,6 +463,9 @@ public String UnityLinkerSpecies() { } } + // Disable the `ask closing` pop-up for VR experiment only + modelUnityLinker.append("\n\t\tgama.pref_experiment_ask_closing <- false;"); + modelUnityLinker.append("\n\t}"); }