Custom Editor for the Image Component.
Extend this class to write a custom editor for an Image-derived component. See Also: Editor, CustomEditor.
| GetInfoString | A string cointaining the Image details to be used as a overlay on the component Preview. |
| HasPreviewGUI | Может ли этот компонент быть предпросмотрен в своем текущем состоянии? |
| OnInspectorGUI | Implement specific ImageEditor inspector GUI code here. If you want to simply extend the existing editor call the base OnInspectorGUI () before doing any custom GUI code. |
| OnPreviewGUI | Custom preview for Image component. |
| OnDisable | См. MonoBehaviour.OnDisable. |
| SpriteGUI | GUI for showing the Sprite property. |
| TypeGUI | GUI for showing the image type and associated settings. |
| serializedObject | SerializedObject, представляющий инспектируемый объект или объекты. |
| target | Инспектируемый объект. |
| targets | Массив всех инспектируемых объектов. |
| DrawDefaultInspector | Вызывает отрисовку встроенного инспектора. |
| DrawHeader | Вызывайте эту функцию для отрисовки заголовка редактора. |
| DrawPreview | Это первая входная точка для рисования области предпросмотра. |
| GetPreviewTitle | Переопределите этот метод, если вы хотите изменить название области предпросмотра (preview). |
| OnInteractivePreviewGUI | Реализуйте, чтобы создать ваш собственный интерактивный предпросмотр. Интерактивные предпросмотры используются в области предпросмотра окна Inspector и при выборе объекта. |
| OnPreviewSettings | Переопределите этот метод, если вы хотите показать пользовательские элементы в заголовке предпросмотра. |
| RenderStaticPreview | Переопределите этот метод, если вы хотите отрисовать статический предпросмотр для показа. |
| Repaint | Перерисовывает все инспекторы, которые отображает этот редактор. |
| RequiresConstantRepaint | Does this edit require to be repainted constantly in its current state? |
| UseDefaultMargins | Переопределите этот метод в подклассах и возвращайте false, если вы не хотите отступы по умолчанию. |
| AppearanceControlsGUI | GUI related to the appearance of the graphic. Color and Material properties appear here. |
| NativeSizeButtonGUI | GUI for showing a button that sets the size of the RectTransform to the native size for this Graphic. |
| RaycastControlsGUI | GUI related to the Raycasting settings for the graphic. |
| SetShowNativeSize | Set if the 'Set Native Size' button should be visible for this editor. |
| 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. |
| OnSceneGUI | Позволяет редактору обрабатывать события в области просмотра сцены. |