This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEngine; | |
namespace FullScreenPlayModes | |
{ | |
[InitializeOnLoad] | |
public class FullScreenPlayMode : Editor | |
{ | |
//The size of the toolbar above the game view, excluding the OS border. | |
private static int toolbarHeight = 22; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEditor; | |
using UnityEditor.SceneManagement; | |
using UnityEngine; | |
namespace SmartEditors | |
{ | |
[InitializeOnLoad] | |
public class PlayFromScene : Editor | |
{ | |
[MenuItem("Tools/Editor/Play From Scene/Set Main Scene", false, 0)] |
NewerOlder