Refine Shose undo back to initial voice, fix video looping and hiding, make TipPanel persistent during opening
This commit is contained in:
@@ -22,8 +22,12 @@ public class VideoController : MonoBehaviour
|
||||
|
||||
if (_videoPlayer != null)
|
||||
{
|
||||
_videoPlayer.isLooping = true;
|
||||
_videoPlayer.loopPointReached += OnVideoEnd;
|
||||
}
|
||||
|
||||
// 初始隐藏视频面板
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
|
||||
/// <summary>播放指定视频文件(StreamingAssets/Videos/ 下)</summary>
|
||||
|
||||
Reference in New Issue
Block a user