Skip to content

Commit

Permalink
#764 readded HelpSystem GameObject with scripts (HelpSystemMenu and H…
Browse files Browse the repository at this point in the history
…elpSystemEntry) back to scene, adjust video-paths
  • Loading branch information
SarahAugustinowski committed Aug 28, 2024
1 parent 383b97d commit b28ae0d
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Assets/SEE/UI/HelpSystem/HelpSystemMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,31 +151,31 @@ private static NestedListMenu CreateStartMenu()

playerMenuEntries = new List<MenuEntry>
{
HelpSystemBuilder.CreateNewHelpSystemEntry("Add Edge", "How to add a new edge", Color.magenta, "Assets/SEE/Videos/AddEdge.mp4", addEdge, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Edit Node", "How to edit an existing node", Color.magenta, "Assets/SEE/Videos/EditNode.mp4", editNode, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Hide Node", "How to hide node(s)", Color.magenta, "Assets/SEE/Videos/hideNode.mp4", hideNode, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Add Edge", "How to add a new edge", Color.magenta, "Videos/AddEdge.mp4", addEdge, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Edit Node", "How to edit an existing node", Color.magenta, "Videos/EditNode.mp4", editNode, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Hide Node", "How to hide node(s)", Color.magenta, "Videos/hideNode.mp4", hideNode, entry),
};

architectureEntries = new List<MenuEntry>
{
HelpSystemBuilder.CreateNewRefEntry(playerMenuEntries, "Player Menu", "Player Menu use cases", Color.magenta),
HelpSystemBuilder.CreateNewHelpSystemEntry("Search for a node", "How to search for a node by source-name", Color.magenta, "Assets/SEE/Videos/searchNode.mp4", searchNode, entry)
HelpSystemBuilder.CreateNewHelpSystemEntry("Search for a node", "How to search for a node by source-name", Color.magenta, "Videos/searchNode.mp4", searchNode, entry)
};

evolutionEntries = new List<MenuEntry>
{
HelpSystemBuilder.CreateNewHelpSystemEntry("Navigation bar", "How to navigate between versions of evolution", Color.red, "Assets/SEE/Videos/evolution.mp4", playEvolution, entry)
HelpSystemBuilder.CreateNewHelpSystemEntry("Navigation bar", "How to navigate between versions of evolution", Color.red, "Videos/evolution.mp4", playEvolution, entry)
};

playerNavigationEntries = new List<MenuEntry>
{
HelpSystemBuilder.CreateNewHelpSystemEntry("Switch table", "How to switch between tables", Color.green, "Assets/SEE/Videos/toggleFocus.mp4", switchTable, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Simple navigation", "How to edit an existing node", Color.green, "Assets/SEE/Videos/navigation.mp4", simpleNavigation, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Switch table", "How to switch between tables", Color.green, "Videos/toggleFocus.mp4", switchTable, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Simple navigation", "How to edit an existing node", Color.green, "Videos/navigation.mp4", simpleNavigation, entry),
};

cityNavigationEntries = new List<MenuEntry>
{
HelpSystemBuilder.CreateNewHelpSystemEntry("Zoom into Code-Cities", "How to zoom into code-cities", Color.green, "Assets/SEE/Videos/zoomIntoCodeCity.mp4", zoomIntoCity, entry),
HelpSystemBuilder.CreateNewHelpSystemEntry("Zoom into Code-Cities", "How to zoom into code-cities", Color.green, "Videos/zoomIntoCodeCity.mp4", zoomIntoCity, entry),
};

navigationEntries = new List<MenuEntry>
Expand Down
58 changes: 58 additions & 0 deletions Assets/Scenes/SEENewWorld.unity
Original file line number Diff line number Diff line change
Expand Up @@ -20018,6 +20018,63 @@ PrefabInstance:
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: dc09ca83af09d6d4b8b33c7c5c4a13ee, type: 3}
--- !u!1 &1450271875
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1450271878}
- component: {fileID: 1450271877}
- component: {fileID: 1450271876}
m_Layer: 0
m_Name: HelpSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1450271876
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1450271875}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 98ffbd86bf6b31e44b4cd955a807277c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!114 &1450271877
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1450271875}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9b16e852193189f49ac33940066ae8fb, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &1450271878
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1450271875}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &1453491727 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 4846815275869615973, guid: dc09ca83af09d6d4b8b33c7c5c4a13ee,
Expand Down Expand Up @@ -31937,3 +31994,4 @@ SceneRoots:
- {fileID: 387723966}
- {fileID: 1706202779}
- {fileID: 1301391584}
- {fileID: 1450271878}

0 comments on commit b28ae0d

Please sign in to comment.