From 37c15a5bb06a57343f57cb2b6efbef3d05c26cbd Mon Sep 17 00:00:00 2001
From: Lysander <73167687+lilSander@users.noreply.github.com>
Date: Tue, 7 Nov 2023 15:56:10 +0100
Subject: [PATCH] Added missing documentation.
---
Assets/SEE/Controls/ToggleBrowser.cs | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/Assets/SEE/Controls/ToggleBrowser.cs b/Assets/SEE/Controls/ToggleBrowser.cs
index 42bcbc7884..710deb880f 100644
--- a/Assets/SEE/Controls/ToggleBrowser.cs
+++ b/Assets/SEE/Controls/ToggleBrowser.cs
@@ -2,13 +2,22 @@
namespace SEE.Controls
{
+ ///
+ /// Toggles the browser on and off with the key F4.
+ ///
public class DialogueCanvas : MonoBehaviour
{
///
- /// A Toggle to switch the Browser on and off with the key F3.
+ /// The browser, which will be toggled.
///
public GameObject Browser;
+ ///
+ /// When the key F4 is pressed,
+ /// the browser and its buttons
+ /// will be activated when they
+ /// are deactivated and vice versa.
+ ///
private void Update()
{
if (SEEInput.ToggleBrowser())