Use Debug.Break() to pause Unity editor from the code
Use Debug.Break() to pause Unity editor from the code
You can pause your game from the editor any time you want. But did you know that you can trigger the pause from the code based on some condition?
There's a console...
Use unitypackage files to share part of your project
Use unitypackage files to share part of your project
Did you know that there's an easier way to share your Unity project files than zipping it all into a single archive? Check the unitypackage file format!
Unitypackage is...
ExecuteInEditMode will run your script in edit mode
ExecuteInEditMode will run your script in edit mode
You might be familiar with the workflow that all of your game scripts are working only when you hit the Play button. Did you know that you can force some scripts to...