using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class CamerExtension : Editor {
public override void OnInspectorGUI()
{
base.DrawDefaultInspector();
if(GUILayout.Button("动身"))
{
}
}
}
[CanEditMultipleObjects()]
[CustomEditor(typeof(Camera),true)]
public class CustomExtension:CamerExtension
{
}