static void Init()
 {
     // Get existing open window or if none, make a new one:
     window = (LadderWizardEditorWindow) EditorWindow.GetWindow (typeof (LadderWizardEditorWindow));
     window.Load();
     window.Focus();
 }
Exemplo n.º 2
0
 static void Init()
 {
     // Get existing open window or if none, make a new one:
     window = (LadderWizardEditorWindow)EditorWindow.GetWindow(typeof(LadderWizardEditorWindow));
     window.Load();
     window.Focus();
 }
Exemplo n.º 3
0
	static void Init () {
		// Get existing open window or if none, make a new one:
		window = (LadderWizardEditorWindow) EditorWindow.GetWindow (typeof (LadderWizardEditorWindow));
		
		// Listen for updates - use this if you want real time graphs
		//if (EditorApplication.update != window.EditorUpdate) EditorApplication.update += window.EditorUpdate;
		
		// Listen for moves
		//window.wantsMouseMove = true;
		
		// Create a style which loads a background image
		window.Load();
		window.Focus();
	} 
    static void Init()
    {
        // Get existing open window or if none, make a new one:
        window = (LadderWizardEditorWindow)EditorWindow.GetWindow(typeof(LadderWizardEditorWindow));

        // Listen for updates - use this if you want real time graphs
        //if (EditorApplication.update != window.EditorUpdate) EditorApplication.update += window.EditorUpdate;

        // Listen for moves
        //window.wantsMouseMove = true;

        // Create a style which loads a background image
        window.Load();
        window.Focus();
    }