This page documents the different Preference settings which affect the Tile Palette window’s features and functions. Adjust these settings to customize the default behavior and default tools of the Tile Palette window while editing.
To access the Tile Palette preferences settings, go to Edit > Preferences… > 2D > Tile Palette.
설정 | 설명 | |
---|---|---|
Target Edit Mode | This sets the behavior for editing a target when a Prefab instance is selected in the Active Target list. Editing a Prefab instance in the Scene isn’t recommended due to performance issues. Note: This affects the Active Tilemap list in pre–2021.2 Editor versions. | |
Enable Dialog | Displays a dialog for you to choose between editing the target in Unity’s prefab editing mode or in the Scene view. | |
Edit In Prefab Mode | Select this to edit only the target Tilemap in the prefab editing mode. | |
Edit In Scene | 씬 뷰 타겟 타일맵만 수정하려면 선택하십시오. | |
Mouse Grid Position At Z | Enable this setting to have Unity display the Brush marquee at the current z position rather than at the default z = 0 position. This also affects how you position your mouse cursor to draw tiles at different z positions (refer to examples below). | |
Active Targets Sorting Mode | 타일 팔레트의 Active Targets 리스트를 정렬하는 방법(2021.2 버전 이하의 에디터에서는 Active Tilemaps에 영향을 줌)을 설정합니다. | |
Alphabetical | 알파벳 순으로 리스트를 정렬합니다(첫 항목이 리스트 최상단에 표시). | |
ReverseAlphabetical | 알파벳 역순으로 리스트를 정렬합니다(첫 항목이 리스트 최상단에 표시). | |
Restore Edit Mode Active Target | 플레이 모드에서 수정 모드로 돌아온 후 Tile Palette 창에서 타겟 Active Target(2021.2 버전 이하 에디터의 Active Tilemap에 해당)을 복원하려면 활성화하십시오. | |
Create Tile Method | Use this to specify the method Unity uses create Tile Assets when you drag a texture or a sprite onto a Tile Palette. The default option is DefaultTile, which creates a tile type Tile Asset. | |
Show Open Tile Palette In Scene View | Enable this to display the Open Tile Palette overlay in the Scene view when selecting an object that interacts with the Tile Palette. | |
Prefab Mode Grid Cell Size | Sets the default Cell Size when opening a tilemap prefab in the prefab editing mode when there is no valid Grid in the prefab. | |
Prefab Mode Grid Cell Gap | Sets the default Cell Gap when opening a tilemap prefab in the prefab editing mode when there is no valid Grid in the prefab. | |
Prefab Mode Grid Cell Layout | Sets the default Cell Layout when opening a tilemap prefab in the prefab editing mode when there is no valid Grid in the prefab. | |
Prefab Mode Grid Cell Swizzle | Sets the default Cell Swizzle when opening a tilemap prefab in the prefab editing mode when there is no valid Grid in the prefab. | |
Default Tile Palette Tools | This determines the list of tools which are available in the Tile Palette window to use with Grid Brushes. The left panel stores the list of tools usable in the Tile Palette. The right panel stores the list of unused tools, which you can add to the available tools. To add a tool to the usable list, select it in the right panel and then select Add (+) to add it to the left panel. To remove a tool from the usable list, select it in the left panel and then select Remove (-) to remove it from the left panel. | |
Save | 기본 타일 팔레트 툴 변경 사항을 저장합니다. | |
Revert | 기본 타일 팔레트 툴 변경 사항을 되돌립니다. | |
Reset | 기본 타일 팔레트 툴을 재설정하여 시스템 기본 설정으로 되돌립니다. |
설정 | 설명 | |
---|---|---|
Brush Picks Asset | Select the asset where Unity stores the Brush Picks in your project. If there is no active asset (None), Unity stores the Brush Picks in the project’s Library folder by default. | |
새로운 기능 | Creates a new Brush Picks asset in the project and sets this new asset as the active Brush Picks asset. | |
Clone | Clones a new Brush Picks asset from the active Brush Picks asset. If there is no active Brush Picks asset, it will clone the Brush Picks present in the Library folder. |
The following examples display the differences between not enabling the setting (the default option) and enabling it. When the setting isn’t enabled, Unity displays the Brush marquee at the default z = 0 position. To draw the following tiles, you position the mouse cursor within the area marked by the white marquee as shown below.
Enable Mouse Grid Position At Z to display the Brush marquee at the current z position. To draw tiles in the same position shown in Example 1, position your mouse cursor within the blue marquee area instead.
Use the following settings to customize the default behavior of the Grid Brush tool when you use it to paint in the Tile Palette window. To access these settings, go to Edit > Preferences… > 2D > Grid Brush.
설정 | 설명 | |
---|---|---|
Show Flood Fill Preview | Enable this setting to display a preview when you use the Flood Fill tool and hover over the Active Target in the Scene view. If the preview displays many Tiles at once, performance can be negatively affected. You can disable this setting to improve performance. | |
Flood Fill Preview Fill Extents | This setting is only available if you enabled Show Flood Fill Preview. Set the limit of the extent from the current cursor position that the Flood Fill preview displays. This value is the number of tiles extended from the current cursor position along the x and y-axis that the Flood Fill preview displays. Important: Setting this value to 0 causes the Flood Fill preview to have an unlimited extent, which can cause performance issues as the preview includes more tiles. You can improve performance by setting a lower value to limit the number of tiles included in the preview. |
|
Flood Fill Preview Erase Extents | This setting is only available if you enabled Show Flood Fill Preview. Set the limit of the extent from the current cursor position that the Flood Fill preview displays, when the Flood Fill tool erases tiles. This value is the number of tiles extended from the current cursor position along the x and y-axis that the Flood Fill preview displays. Important: Setting this value to 0 causes the Flood Fill preview to have an unlimited extent, which can cause performance issues as the preview includes more tiles. You can improve performance by setting a lower value to limit the number of tiles included in the preview. |