game(scripts): standardise Letter
This commit is contained in:
parent
5b8b7a6a1e
commit
cfbbb80549
1 changed files with 7 additions and 10 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue