출처 : https://forum.unity.com/threads/how-to-know-video-player-is-finished-playing-video.483935/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Video; public class Scene_Intro : MonoBehaviour { public VideoPlayer vid; void Start(){vid.loopPointReached += CheckOver;} void CheckOver(UnityEngine.Video.VideoPlayer vp) { print ("Video Is Over"); } } | cs |
'🌍 Unity' 카테고리의 다른 글
Material doesn't have a float or range property '_CullMode' UnityEngine.Material:GetFloat(String) (0) | 2020.11.03 |
---|---|
유니티 2019.1 안드로이드 로그캣 내장기능 사용하기 (Unity 2019.1 Android logcat) (1) | 2019.05.28 |