Skip to content

Commit aea21b0

Browse files
author
Tom Kail
committed
Player window info
1 parent 676c837 commit aea21b0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Packages/Ink/Editor/Tools/Player Window/InkPlayerWindow.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,17 @@ void OnGUI () {
908908
DrawFunctions();
909909
DrawVariables();
910910
InkPlayerWindowState.Save();
911+
} else {
912+
// EditorGUILayout.BeginVertical(GUILayout.Width(position.width * 0.6f));
913+
GUILayout.Space(40);
914+
EditorGUILayout.LabelField("Use this window to play and debug ink stories", EditorStyles.boldLabel);
915+
GUILayout.Space(10);
916+
EditorGUILayout.LabelField("You can tether your story as it runs in Play Mode to this window, allowing you to view and edit variables and divert in real time!", EditorStyles.wordWrappedLabel);
917+
GUILayout.Space(20);
918+
if(GUILayout.Button("View Documentation")) {
919+
Application.OpenURL("https://github.com/inkle/ink-unity-integration/blob/master/Documentation/InkPlayerWindow.md");
920+
}
921+
// EditorGUILayout.EndVertical();
911922
}
912923

913924
EditorGUILayout.EndScrollView();

0 commit comments

Comments
 (0)