Files
CosmicClash/Game/scripts/game_settings.gd
T

12 lines
435 B
GDScript

extends Node
# Autoload: cross-scene settings handed from the main menu to game modes.
# Defaults keep direct-scene runs (F6), training, and headless runs unchanged.
# Opponent policy chosen in the main menu; empty = use the mode's own export.
var selected_bot_path: String = ""
# Spectate (bot vs bot) policies chosen in the main menu; empty = mode export.
var spectate_bot_a_path: String = ""
var spectate_bot_b_path: String = ""