Answers for "unity leave playmode"

C#
0

unity leave playmode

using UnityEditor;

EditorApplication.ExitPlaymode();

/* Don't forget that unity doesn't build with UnityEditor code in a file 
outside a "Editor" folder or without the right preprocessor directive: */
#if UNITY_EDITOR
#endif
Posted by: Guest on July-20-2021

C# Answers by Framework

Browse Popular Code Answers by Language