示例#1
0
 public void InitializeVideo()
 {
     SyncValues      = SyncValuesVideoMode;
     PlayMedia       = PlayMediaVideoMode;
     PauseMedia      = PauseMediaVideoMode;
     StopMedia       = StopMediaVideoMode;
     MediaPlayerMode = Lanotalium.MediaPlayer.MediaPlayerMode.Video;
 }
示例#2
0
 private void UseSyncMode()
 {
     SyncValues = SyncValuesSyncMode;
     PlayMedia  = PlayMusicSyncMode;
     PauseMedia = PauseMusicSyncMode;
     StopMedia  = StopMusicSyncMode;
     PreciseModeController.SetActive(true);
     BaseWindow.WindowRectTransform.sizeDelta = new Vector2(500, 150);
     CurrentModeText.text = LimLanguageManager.TextDict["Window_MediaPlayer_Sync"];
     MediaPlayerMode      = Lanotalium.MediaPlayer.MediaPlayerMode.MusicSync;
 }