using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class PauseButton1 : MonoBehaviour
{
public VideoPlayer myMovie;
private void OnMouseDown()
{
Debug.Log("동영상 멈춤");
myMovie.Pause();
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video;
public class PauseButton1 : MonoBehaviour { public VideoPlayer myMovie; private void OnMouseDown() { Debug.Log("동영상 멈춤"); myMovie.Pause(); } // Start is called before the first frame update void Start() {
}