CameraEditor

class in UnityEditor

/

Hereda de:Editor

Cambiar al Manual

Descripción

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.

Variables

settingsSettings for the camera editor.

Funciones Públicas

OnDestroySee ScriptableObject.OnDestroy.
OnEnableSee ScriptableObject.OnEnable.
OnInspectorGUIVer Editor.OnInspectorGUI.
OnSceneGUISee Editor.OnSceneGUI.

Miembros heredados

Variables

serializedObjectUn SerializedObject representando el objeto u objetos siendo inspeccionados.
targetEl objeto siendo inspeccionado.
targetsUn arreglo de todos los objetos siendo inspeccionados.
hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameEl nombre del objeto.

Funciones Públicas

CreateInspectorGUIImplement this method to make a custom UIElements inspector.
DrawDefaultInspectorDraws the built-in inspector.
DrawHeaderLlame esta función para dibujar el encabezado del editor.
DrawPreviewEl primer punto de entrada para Preview Drawing.
GetInfoStringImplemente este método para mostrar información asset encima de la pre-visualización del asset.
GetPreviewTitleAnule este método si desea cambiar la etiqueta del área de vista previa.
HasPreviewGUIAnule este método en las sub-classes si usted implementa OnPreviewGUI.
OnInteractivePreviewGUIImplemente para crear su propia vista previa personalizada interactiva. Las vistas previas interactivas personalizadas se utilizan en el área de vista previa del inspector y el selector de objetos.
OnPreviewGUIImplement to create your own custom preview for the preview area of the inspector, the headers of the primary editor, and the object selector.
OnPreviewSettingsAnule este método si desea mostrar controles personalizados en el encabezado de la vista previa.
RenderStaticPreviewOverride this method if you want to render a static preview.
RepaintRedraw any inspectors that shows this editor.
RequiresConstantRepaintChecks if this editor requires constant repaints in its current state.
UseDefaultMarginsAnule este método en subclases para devolver false si no desea márgenes predeterminados.
GetInstanceIDDevuelve el id de la instancia del objeto.
ToStringReturns the name of the object.

Funciones Protegidas

ShouldHideOpenButtonReturns the visibility setting of the "open" button in the Inspector.

Funciones Estáticas

CreateCachedEditorOn 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.
CreateCachedEditorWithContextCreates a cached editor using a context object.
CreateEditorCrea un editor personalizado para targetObject o targetObjects.
CreateEditorWithContextMake a custom editor for targetObject or targetObjects with a context object.
DrawFoldoutInspectorDraws the inspector GUI with a foldout header for target.
DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeDevuelve el primer objeto activo cargado de tipo type.
FindObjectsOfTypeDevuelve una lista de todos los objetos activos cargados de tipo type.
InstantiateClona el objeto original y devuelve el clon.
CreateInstanceCrea una instancia de un objeto scriptable.

Operadores

bool¿Existe el objeto?
operator !=Compare si dos objetos se refieren a un objeto diferente.
operator ==Compara dos referencias de objeto para ver si se refieren al mismo objeto.

Mensajes

AwakeEsta función se llama cuando el script ScriptableObject empieza.
OnDisableEsta función se llama cuando el objeto scriptable se va fuera del alcance (scope).

Events

finishedDefaultHeaderGUIAn event raised while drawing the header of the Inspector window, after the default header items have been drawn.