Skip to content

Commit

Permalink
Added missing documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
lilSander committed Nov 7, 2023
1 parent cfe9118 commit 37c15a5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Assets/SEE/Controls/ToggleBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@

namespace SEE.Controls
{
/// <summary>
/// Toggles the browser on and off with the key F4.
/// </summary>
public class DialogueCanvas : MonoBehaviour
{
/// <summary>
/// A Toggle to switch the Browser on and off with the key F3.
/// The browser, which will be toggled.
/// </summary>
public GameObject Browser;

/// <summary>
/// When the key F4 is pressed,
/// the browser and its buttons
/// will be activated when they
/// are deactivated and vice versa.
/// </summary>
private void Update()
{
if (SEEInput.ToggleBrowser())
Expand Down

0 comments on commit 37c15a5

Please sign in to comment.