Is there a way to tell if the game is being played via the Test Play button in the editor?
DataManager's 'test' check seems to be determining whether it's a battle test or an event test, which is not the kind of test I'm interested in.
I want to add some logic to my plugin that will only run when the game is being played from the editor, as I want the script to update itself with a list of resources. But when the game is deployed and players are running it via the exe, I don't want this part of the plugin to run.
Edit: nevermind - $gameTemp.isPlaytest() seems to be what I'm after.
DataManager's 'test' check seems to be determining whether it's a battle test or an event test, which is not the kind of test I'm interested in.
I want to add some logic to my plugin that will only run when the game is being played from the editor, as I want the script to update itself with a list of resources. But when the game is deployed and players are running it via the exe, I don't want this part of the plugin to run.
Edit: nevermind - $gameTemp.isPlaytest() seems to be what I'm after.