Files

15 lines
291 B
C#
Raw Normal View History

2025-07-21 17:10:16 +01:00
using UnityEngine;
using UnityEngine.UIElements;
namespace Unity.U2D.Animation.Sample
{
internal class PressPlayUI : MonoBehaviour
{
void OnEnable()
{
var uiDocument = GetComponent<UIDocument>();
uiDocument.enabled = false;
}
}
}