17 lines
316 B
C#
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();
|
|
}
|
|
}
|