EngediKimHyeYoung / Unity

0 stars 0 forks source link

동영상 플레이버튼 #11

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

}

}