Skip to content

Instantly share code, notes, and snippets.

@junjanjon
Last active August 22, 2017 05:49
Show Gist options
  • Save junjanjon/bf681e9b2f23d9a932459b8b0ee73401 to your computer and use it in GitHub Desktop.
Save junjanjon/bf681e9b2f23d9a932459b8b0ee73401 to your computer and use it in GitHub Desktop.
using UnityEditor;
public class Example : EditorWindow
{
DataBese db;
public static void Create (DataBese db)
{
var exampleWindow = CreateInstance<Example> ();
exampleWindow.db = db;
exampleWindow.Show ();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment