NG_/Assets/Scripts/UI/事态感知/PlayerVideo.cs
2024-12-26 17:37:08 +08:00

17 lines
316 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UMP;
using UnityEngine;
// 打开监控画面
public class PlayerVideo : MonoBehaviour
{
public UniversalMediaPlayer _mediaPlayer;
private void OnEnable()
{
_mediaPlayer.Stop();
_mediaPlayer.Play();
}
}