A sensor that detects if the player went into play mode from edit mode, for debugging-specific logic.
Occasionally I may want to create some logic that I will use while testing my scene to give me some information or let me see the scene from another angle, or whatever, that I may only want to be possible when I am personally testing my own scene. Right now, I could either create a secret code that only I know to turn on or off that logic, or just manually use a switch to turn it on or off, but neither method is ideal. Codes can potentially be guessed, and flipping a switch on and off every time can be annoying and easy to forget when publishing. So I think having a way for a sensor to know that the person playing the scene is someone who came from edit mode would be a better way to activate this testing logic.
-
Yes please
-
You could also make a debug mode that has an on/off switch at the head, so you can easily turn the whole debug system on and off.
-
Or make gadgets that work specifically only when in Test Mode.
-
Also, looking at the templates added in the latest update, a gadget for detecting switching between play mode and edit mode might be useful for creators who want to create their own "play and edit" scenes to illustrate how to use and customize elements that they've published.
댓글을 남기려면 로그인하세요.