public static void OpenWindow(SerializableDialogData data) { if (data != null) { DialogueGraphViewWindow view = GetWindow <DialogueGraphViewWindow>("Dialogue", true, typeof(SceneView)); view.ShowScript(data); } }
public void Initialize(DialogueGraphViewWindow window) { m_window = window; }