using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class PlayButton : MonoBehaviour
{
public VideoPlayer myMovie;
private void OnMouseDown()
{
Debug.Log("동영상 플레이");
myMovie.Play();
}
// 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 PlayButton : MonoBehaviour { public VideoPlayer myMovie; private void OnMouseDown() { Debug.Log("동영상 플레이"); myMovie.Play(); } // Start is called before the first frame update void Start() {
}