using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Video; /* 教程界面(主界面功能) */ public class VideoView : MonoBehaviour, MenuBackInterface { GameObject videoBG; RawImage videoBox; VideoPlayer videoPlayer; GameObject btnVideoPlay; Button btnVideoBack; GameObject bottom; Scrollbar progressBar; void Awake() { videoBG = transform.Find("VideoBG").gameObject; videoBox = videoBG.GetComponentInChildren(); videoPlayer = videoBG.GetComponentInChildren(); btnVideoPlay = transform.Find("BtnPlay").gameObject; btnVideoBack = transform.Find("BtnBack").GetComponent