Unity Camera Editor.
This is the Unity Camera Editor class. If you want to write your own custom Camera Editor you can extend this class and override the OnInspectorGUI function.
| settings | Settings for the camera editor. |
| OnDestroy | See ScriptableObject.OnDestroy. |
| OnDisable | See ScriptableObject.OnDisable. |
| OnEnable | See ScriptableObject.OnEnable. |
| OnInspectorGUI | Смотрите Editor.OnInspectorGUI. |
| OnSceneGUI | See Editor.OnSceneGUI. |
| serializedObject | SerializedObject, представляющий инспектируемый объект или объекты. |
| target | Инспектируемый объект. |
| targets | Массив всех инспектируемых объектов. |
| CreateInspectorGUI | Implement this method to make a custom UIElements inspector. |
| DrawDefaultInspector | Draws the built-in inspector. |
| DrawHeader | Вызывайте эту функцию для отрисовки заголовка редактора. |
| DrawPreview | Это первая входная точка для рисования области предпросмотра. |
| GetInfoString | Реализуйте этот метод, чтобы показать информацию об ассете поверх предпросмотра ассета. |
| GetPreviewTitle | Переопределите этот метод, если вы хотите изменить название области предпросмотра (preview). |
| HasPreviewGUI | Переопределите этот метод в подклассах, если вы реализуете OnPreviewGUI. |
| OnInteractivePreviewGUI | Реализуйте, чтобы создать ваш собственный интерактивный предпросмотр. Интерактивные предпросмотры используются в области предпросмотра окна Inspector и при выборе объекта. |
| OnPreviewGUI | Implement to create your own custom preview for the preview area of the inspector, the headers of the primary editor, and the object selector. |
| OnPreviewSettings | Переопределите этот метод, если вы хотите показать пользовательские элементы в заголовке предпросмотра. |
| RenderStaticPreview | Override this method if you want to render a static preview. |
| Repaint | Redraw any inspectors that shows this editor. |
| RequiresConstantRepaint | Checks if this editor requires constant repaints in its current state. |
| UseDefaultMargins | Переопределите этот метод в подклассах и возвращайте false, если вы не хотите отступы по умолчанию. |
| ShouldHideOpenButton | Returns the visibility setting of the "open" button in the Inspector. |
| CreateCachedEditor | On return previousEditor is an editor for targetObject or targetObjects. The function either returns if the editor is already tracking the objects, or destroys the previous editor and creates a new one. |
| CreateCachedEditorWithContext | Creates a cached editor using a context object. |
| CreateEditor | Создает пользовательский редактор для obj или objects. |
| CreateEditorWithContext | Make a custom editor for targetObject or targetObjects with a context object. |
| DrawFoldoutInspector | Draws the inspector GUI with a foldout header for target. |
| HasFrameBounds | Validates whether custom bounds can be calculated for this editor. |
| OnGetFrameBounds | Gets custom bounds for the target of this editor. |
| finishedDefaultHeaderGUI | An event raised while drawing the header of the Inspector window, after the default header items have been drawn. |