EngediKimHyeYoung / Unity

0 stars 0 forks source link

동영상 일시정지 버튼 #12

Open EngediKimHyeYoung opened 2 years ago

EngediKimHyeYoung commented 2 years ago

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()
{

}

}