class in UnityEditor.Experimental.AssetImporters
/
Inherits from:Editor
Default editor for all asset importer settings.
This is the default editor that is used to edit the import settings of assets. You can define a custom import settings editor, for a specific asset type, by creating a new class which inherits from AssetImporterEditor.
| showImportedObject | Should imported object be shown as a separate editor? |
| useAssetDrawPreview | Determines if the asset preview is handled by the AssetEditor or the Importer DrawPreview |
| HasModified | Determine if the import settings have been modified. |
| OnDisable | This function is called when the editor object goes out of scope. |
| OnEnable | This function is called when the object is loaded. |
| Apply | Saves any changes from the Editor's control into the asset's import settings object. |
| ApplyButton | Implements the 'Apply' button of the inspector. |
| ApplyRevertGUI | Add's the 'Apply' and 'Revert' buttons to the editor |
| Awake | This function is called when the Editor script is started. |
| OnApplyRevertGUI | Process the 'Apply' and 'Revert' buttons. |
| ResetValues | Reset the import settings to their last saved values. |
| RevertButton | Implements the 'Revert' button of the inspector. |
| serializedObject | SerializedObject, представляющий инспектируемый объект или объекты. |
| target | Инспектируемый объект. |
| targets | Массив всех инспектируемых объектов. |
| hideFlags | Should the object be hidden, saved with the scene or modifiable by the user? |
| name | The name of the object. |
| DrawDefaultInspector | Вызывает отрисовку встроенного инспектора. |
| DrawHeader | Вызывайте эту функцию для отрисовки заголовка редактора. |
| DrawPreview | Это первая входная точка для рисования области предпросмотра. |
| GetInfoString | Реализуйте этот метод, чтобы показать информацию об ассете поверх предпросмотра ассета. |
| GetPreviewTitle | Переопределите этот метод, если вы хотите изменить название области предпросмотра (preview). |
| HasPreviewGUI | Переопределите этот метод в подклассах, если вы реализуете OnPreviewGUI. |
| OnInspectorGUI | Реализуйте эту функцию для создания собственного инспектора. |
| OnInteractivePreviewGUI | Реализуйте, чтобы создать ваш собственный интерактивный предпросмотр. Интерактивные предпросмотры используются в области предпросмотра окна Inspector и при выборе объекта. |
| OnPreviewGUI | Реализуйте, чтобы создать ваш собственный предпросмотр в области предпросмотра инспектора, основных заголовках редактора и при выборе объекта. |
| OnPreviewSettings | Переопределите этот метод, если вы хотите показать пользовательские элементы в заголовке предпросмотра. |
| RenderStaticPreview | Переопределите этот метод, если вы хотите отрисовать статический предпросмотр для показа. |
| Repaint | Перерисовывает все инспекторы, которые отображает этот редактор. |
| RequiresConstantRepaint | Does this edit require to be repainted constantly in its current state? |
| UseDefaultMargins | Переопределите этот метод в подклассах и возвращайте false, если вы не хотите отступы по умолчанию. |
| GetInstanceID | Returns the instance id of the object. |
| ToString | Returns the name of the game object. |
| 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. |
| Destroy | Удаляет GameObject, Component или Asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Makes the object target not be destroyed automatically when loading a new scene. |
| FindObjectOfType | Returns the first active loaded object of Type type. |
| FindObjectsOfType | Returns a list of all active loaded objects of Type type. |
| Instantiate | Clones the object original and returns the clone. |
| CreateInstance | Creates an instance of a scriptable object. |
| bool | Does the object exist? |
| operator != | Compares if two objects refer to a different object. |
| operator == | Compares two object references to see if they refer to the same object. |
| OnSceneGUI | Позволяет редактору обрабатывать события в области просмотра сцены. |
| OnDestroy | This function is called when the scriptable object will be destroyed. |