20 lines
668 B
C#
20 lines
668 B
C#
using System.Collections.Generic;
|
|
using UnityEditor;
|
|
|
|
namespace Cinemachine.Editor
|
|
{
|
|
[CustomEditor(typeof(CinemachineExternalCamera))]
|
|
[CanEditMultipleObjects]
|
|
internal class CinemachineExternalCameraEditor
|
|
: CinemachineVirtualCameraBaseEditor<CinemachineExternalCamera>
|
|
{
|
|
/// <summary>Get the property names to exclude in the inspector.</summary>
|
|
/// <param name="excluded">Add the names to this list</param>
|
|
protected override void GetExcludedPropertiesInInspector(List<string> excluded)
|
|
{
|
|
base.GetExcludedPropertiesInInspector(excluded);
|
|
excluded.Add("Extensions");
|
|
}
|
|
}
|
|
}
|