- Added optional description panel to visject CM
- Enbaled description panel for visual scripting - Archetype description now gets drawn in description panel
This commit is contained in:
@@ -338,6 +338,13 @@ namespace FlaxEditor.Surface.ContextMenu
|
||||
return base.OnMouseUp(location, button);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnMouseEnter(Float2 location)
|
||||
{
|
||||
base.OnMouseEnter(location);
|
||||
Group.ContextMenu.SetDescriptionText(_archetype.Description);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnMouseLeave()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user