Class TilePaletteElement
A Visual Element which handles and displays a Tile Palette Clipboard and its associated tools.
Implements
Inherited Members
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.TryGetBinding(BindingId, out Binding)
VisualElement.TryGetDataSourceContext(BindingId, out DataSourceContext)
VisualElement.TryGetLastBindingToUIResult(in BindingId, out BindingResult)
VisualElement.TryGetLastBindingToSourceResult(in BindingId, out BindingResult)
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallbackOnce<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.RegisterCallbackOnce<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
CallbackEventHandler.NotifyPropertyChanged(in BindingId)
Namespace: UnityEditor.Tilemaps
Assembly: Unity.2D.Tilemap.Editor.dll
Syntax
[UxmlElement]
public class TilePaletteElement : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler
Constructors
TilePaletteElement()
Initializes and returns an instance of TilePaletteElement.
Declaration
public TilePaletteElement()
Properties
clipboardUnlocked
Whether the clipboard is unlocked for editing.
Declaration
public bool clipboardUnlocked { get; set; }
Property Value
Type | Description |
---|---|
bool |
hideOnPick
Whether the clipboard is hidden when the Pick EditorTool is activated on it.
Declaration
public bool hideOnPick { get; set; }
Property Value
Type | Description |
---|---|
bool |
Events
onBrushPicked
Callback when the active Brush does a Pick on the Clipboard.
Declaration
public event Action onBrushPicked
Event Type
Type | Description |
---|---|
Action |