From cfbbb8054932bee4db0e88861ac0437cbc2db5c4 Mon Sep 17 00:00:00 2001 From: Mark Joshwel Date: Sat, 15 Feb 2025 00:35:27 +0800 Subject: [PATCH] game(scripts): standardise Letter --- Game/Assets/Scripts/Letter.cs | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Game/Assets/Scripts/Letter.cs b/Game/Assets/Scripts/Letter.cs index ff59718..ba1c351 100644 --- a/Game/Assets/Scripts/Letter.cs +++ b/Game/Assets/Scripts/Letter.cs @@ -1,22 +1,19 @@ /* -Author: Reza -Date: 3/2/25 -Description: To show letter UI when letter is picked up or dropped -*/ + * Author: Reza + * Date: 3/2/25 + * Description: To show letter UI when the letter is picked up or dropped + */ -using System.Collections; -using System.Collections.Generic; using UnityEngine; -using UnityEngine.UIElements; public class Letter : MonoBehaviour { public GameObject letterUI; public AudioClip scribble; - + private void Start() { - letterUI.SetActive(false); + letterUI.SetActive(false); } public void ShowLetterUI() @@ -30,4 +27,4 @@ public class Letter : MonoBehaviour letterUI.SetActive(false); Debug.Log("Dropped letter - UI should hide"); } -} +} \ No newline at end of file