xiezi5160/MultirunForGodot4

How to access the custom arguments?

creadicted opened this issue · 1 comments

Hey! Thank you for the GD4 update. How would you access the custom arguments?

cyraid commented

@creadicted You can do ++ listen arg2 arg3 as arguments for the first window, and ++ join arg2 to the other windows, and access them with C#:

OS.GetCmdlineUserArgs()

or with GDScript:

OS.get_cmdline_user_args()