Beispiel #1
0
    static void Init()
    {
        window = (ReactEditor)EditorWindow.GetWindow (typeof(ReactEditor));

        window.Show ();
        var n = Selection.activeObject as Reactable;
        if (n) {
            window.Load (n);
        } else {
            window.root = new Root ();
        }
    }