Question by
xXCastigamattiXx · Jun 18, 2018 at 10:52 AM ·
quitexitreturn value
Return a value on the console when the application terminates
I would like to know if it is possible to return a value or a string as desired when the application (the game itself) ends. A program launched by a terminal should return something. Here, I'm writing a game on Unity3D and I need to run it with the terminal and then read a value when the execution is finished (return value and process). How can I do?
Please note that I am referring to the console through which I launch the game (either Terminal.app on MacOS or CMD on Windows).
Comment
Your answer
Follow this Question
Related Questions
Can a Unity Application return an error code? 0 Answers
Daydream/Cardboard VR correct way to exit the application 1 Answer
Missing Button.ExitGame error 0 Answers
Extiting Play Mode Takes Too Much Time 1 Answer
My game quits on pressing Escape. HELP! 0 Answers