Susko3
Susko3
CC#
Created by Rémi on 7/3/2023 in #help
❔ Interactive both in y and x axis, in cmd
I think it's usually right click on the file in Visual Studio
29 replies
CC#
Created by Rémi on 7/3/2023 in #help
❔ Interactive both in y and x axis, in cmd
you could also include the json in the build and set it to be copied to the output directory (not sure what the exact steps are, but I believe I've used the correct terminology)
29 replies
CC#
Created by Rémi on 7/3/2023 in #help
❔ Interactive both in y and x axis, in cmd
or, load the json as ../../my_file.json instead of just my_file.json in your code
29 replies
CC#
Created by _arira_ on 1/29/2023 in #help
❔ Having trouble with a player swap function
if you make the transform.position = new Vector3(100, 100, 100) will the player teleport to coordinates 100, 100, 100?
3 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
I still think using a manual reset event is a more clean solution, but if this works for you...
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
as long as you can Ctrl+C-it...
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
do you just crash it? seems not ideal
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
how are you exiting the program then?
20 replies
CC#
Created by Ryan-T1412 on 12/25/2022 in #help
❔ ✅ error CS0150 A constant value is expected
20 replies
CC#
Created by Ryan-T1412 on 12/25/2022 in #help
❔ ✅ error CS0150 A constant value is expected
as the string isn't a compile-time constant
20 replies
CC#
Created by Ryan-T1412 on 12/25/2022 in #help
❔ ✅ error CS0150 A constant value is expected
hint: don't use a switch-case in this scenario
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
also I'm not sure how readkey would work across threads
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
or like a global static manual reset event that you would Wait() on in the main thead, and signal in other threads
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
I guess you could have a
while (true) {}
while (true) {}
instead of readkey to prevent exiting
20 replies
CC#
Created by Limited Past on 12/25/2022 in #help
How to use use ReadKey in a Task when i'm using ReadKey elsewhere to stop the program from exiting?
console key input is not really suited for multi-threaded applications
20 replies
CC#
Created by bookuha on 9/6/2022 in #help
File comparison
well.... you're the one with the files
29 replies
CC#
Created by bookuha on 9/6/2022 in #help
File comparison
maybe in the beginning, maybe in the end?
29 replies
CC#
Created by bookuha on 9/6/2022 in #help
File comparison
the important question for you may be: "where do the files usually differ?"
29 replies
CC#
Created by bookuha on 9/6/2022 in #help
File comparison
compare sections and stop when you find a non-matching section, makes sense
29 replies