CinemachineExternalCameraEditor.cs 668 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. using UnityEditor;
  3. namespace Cinemachine.Editor
  4. {
  5. [CustomEditor(typeof(CinemachineExternalCamera))]
  6. [CanEditMultipleObjects]
  7. internal class CinemachineExternalCameraEditor
  8. : CinemachineVirtualCameraBaseEditor<CinemachineExternalCamera>
  9. {
  10. /// <summary>Get the property names to exclude in the inspector.</summary>
  11. /// <param name="excluded">Add the names to this list</param>
  12. protected override void GetExcludedPropertiesInInspector(List<string> excluded)
  13. {
  14. base.GetExcludedPropertiesInInspector(excluded);
  15. excluded.Add("Extensions");
  16. }
  17. }
  18. }