説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

PressPlayUI.cs 291B

1234567891011121314
  1. using UnityEngine;
  2. using UnityEngine.UIElements;
  3. namespace Unity.U2D.Animation.Sample
  4. {
  5. internal class PressPlayUI : MonoBehaviour
  6. {
  7. void OnEnable()
  8. {
  9. var uiDocument = GetComponent<UIDocument>();
  10. uiDocument.enabled = false;
  11. }
  12. }
  13. }