Files
Crash-Course/Assets/Scripts/Game/UserManualPopup.cs
djkellerman 9578af346b Added User Manual and fixes
Added help button on the title screen with animation. Added User Manual to appear after clicking the button, and vice versa. Added tons of catches to handle unwanted errors.
2025-04-18 02:50:50 -04:00

19 lines
331 B
C#

using UnityEngine;
public class UserManualPopup : MonoBehaviour
{
public GameObject popupPanel;
public void ShowPopup()
{
popupPanel.SetActive(true);
gameObject.SetActive(true);
}
public void HidePopup()
{
popupPanel.SetActive(false);
gameObject.SetActive(false);
}
}