Files

20 lines
668 B
C#
Raw Permalink Normal View History

2025-06-27 23:27:49 +01:00
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");
}
}
}