コード例 #1
0
    static SerializerTestWindow ShowWindow()
    {
        if (_instance == null)
        {
            SerializerTestWindow window = EditorWindow.GetWindow <SerializerTestWindow>();
            window.titleContent = new GUIContent("Serializer Test");
            _instance           = window;
            window.Show();
        }
        else
        {
            _instance.Focus();
        }

        return(_instance);
    }
コード例 #2
0
 public SerializerTestWindow()
 {
     _instance = this;
 }