using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; using UnityEngine.UI; [CustomEditor(typeof(DShowMoviePlayer))] public class DShowMoviePlayerEditor : PlayerPreviewEditorBase { protected override DShowPlayer player { get { return (target as DShowMoviePlayer).player; } } protected override DShowClip clip { get { return (target as DShowMoviePlayer).VideoAsset; } } public override GUIContent GetPreviewTitle() { return new GUIContent("DShow"); } }