您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

27 行
542 B

using UnityEditor;
namespace Unity.DemoTeam.DigitalHuman
{
[CustomEditor(typeof(SkinDeformationPlayableAsset))]
public class SkinDeformationPlayableAssetEditor : Editor
{
private Editor clipEditor;
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
if (target != null)
{
var clip = (target as SkinDeformationPlayableAsset).clip;
if (clip != null)
{
Editor.CreateCachedEditor(clip, null, ref clipEditor);
clipEditor.DrawHeader();
clipEditor.OnInspectorGUI();
}
}
}
}
}