using Hanatric.Unity.Video.FFmpegPlayer; using Newtonsoft.Json; using UnityEngine; using UnityEngine.UI; public class UI_BGPanel : BasePanel { public Button btn_h51, btn_h52; public FFmpegPlayerBasicRawImage mediaPlayer1; public FFmpegPlayerBasicRawImage mediaPlayer2; public FFmpegPlayerBasicRawImage mediaPlayer3; public FFmpegPlayerBasicRawImage mediaPlayer4; public FFmpegPlayerBasicRawImage mediaPlayerHW; public FFmpegPlayerBasicRawImage mediaPlayerZW; protected override void Awake() { base.Awake(); FFmpegPlayerMono.Init(Application.streamingAssetsPath + "/FFmpegNativeLib"); btn_h51 = GetControl