Editor for GridBrush.
| brush | The GridBrush that is the target for this editor. |
| validTargets | Returns all valid targets that the brush can edit. |
| BoxFillPreview | Does a preview of what happens when a GridBrush.BoxFill is done with the same parameters. |
| ClearPreview | Clears any preview drawn previously by the GridBrushEditor. |
| FloodFillPreview | Does a preview of what happens when a GridBrush.FloodFill is done with the same parameters. |
| OnPaintSceneGUI | Callback for painting the GUI for the GridBrush in the Scene View. |
| OnSelectionInspectorGUI | Callback for drawing the Inspector GUI when there is an active GridSelection made in a Tilemap. |
| PaintPreview | Paints preview data into a cell of a grid given the coordinates of the cell. |
| RegisterUndo | Callback for registering an Undo action before the GridBrushBase does the current GridBrushBase.Tool action. |
| serializedObject | Un SerializedObject representando el objeto u objetos siendo inspeccionados. |
| target | El objeto siendo inspeccionado. |
| targets | Un arreglo de todos los objetos siendo inspeccionados. |
| validTargets | Returns all valid targets that the brush can edit. |
| hideFlags | ¿Debería el objeto estar oculto, guardado con la escena o modificable por el usuario? |
| name | El nombre del objeto. |
| DrawDefaultInspector | Dibuje el inspector integrado. |
| DrawHeader | Llame esta función para dibujar el encabezado del editor. |
| DrawPreview | El primer punto de entrada para Preview Drawing. |
| GetInfoString | Implemente este método para mostrar información asset encima de la pre-visualización del asset. |
| GetPreviewTitle | Anule este método si desea cambiar la etiqueta del área de vista previa. |
| HasPreviewGUI | Anule este método en las sub-classes si usted implementa OnPreviewGUI. |
| OnInspectorGUI | Implemente esta función para crear un inspector personalizado. |
| OnInteractivePreviewGUI | Implemente 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. |
| OnPreviewGUI | Implemente para crear su propia vista previa personalizada para el área de vista previa del inspector, los encabezados del editor principal y el selector de objetos. |
| OnPreviewSettings | Anule este método si desea mostrar controles personalizados en el encabezado de la vista previa. |
| RenderStaticPreview | Anule este método si usted quiere renderizar una previsualización estática que se muestra. |
| Repaint | Re-pinta cualquier inspector que muestre este editor. |
| RequiresConstantRepaint | Esta edición requiere que sea re-pintada constantemente en su estado actual? |
| UseDefaultMargins | Anule este método en subclases para devolver false si no desea márgenes predeterminados. |
| OnMouseEnter | Callback when the mouse cursor enters a paintable region. |
| OnMouseLeave | Callback when the mouse cursor leaves a paintable region. |
| OnPaintInspectorGUI | Callback for painting the inspector GUI for the GridBrush in the tilemap palette. |
| OnToolActivated | Callback when a Tool is activated. |
| OnToolDeactivated | Callback when a Tool is deactivated. |
| GetInstanceID | Devuelve el id de la instancia del objeto. |
| ToString | Returns the name of the GameObject. |
| ShouldHideOpenButton | Returns the visibility setting of the "open" button in the Inspector. |
| CreateCachedEditor | previousEditor es un editor para targetObject o targetObjects. La función devuelve si el editor ya está rastreando los objetos, o Destruye el editor anterior y crea uno nuevo. |
| CreateCachedEditorWithContext | Creates a cached editor using a context object. |
| CreateEditor | Crea un editor personalizado para targetObject o targetObjects. |
| CreateEditorWithContext | Make a custom editor for targetObject or targetObjects with a context object. |
| Destroy | Elimina un gameobject, componente o asset. |
| DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
| DontDestroyOnLoad | Hace que el objeto target no sea destruido automáticamente cuando se cargue una nueva escena. |
| FindObjectOfType | Devuelve el primer objeto activo cargado de tipo type. |
| FindObjectsOfType | Devuelve una lista de todos los objetos activos cargados de tipo type. |
| Instantiate | Clona el objeto original y devuelve el clon. |
| CreateInstance | Crea una instancia de un objeto scriptable. |
| 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. |
| OnSceneGUI | Permite al Editor manejar un evento en la vista de escena. |
| Awake | Esta función se llama cuando el script ScriptableObject empieza. |
| OnDestroy | Esta función se llama cuando el objeto scriptable se destruirá. |
| OnDisable | Esta función se llama cuando el objeto scriptable se va fuera del alcance (scope). |
| OnEnable | Esta función se llama cuando el objeto es cargado. |