IconPath
The file path to the node's icon.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public string IconPath { get; }
Remarks
For dark and light themes, provide two files with identical names, adding a d_ prefix to the dark theme icon. Use a higher resolution (such as 128x128) to ensure the icon appears clear when zoomed in the graph. The icon will appear on the node in the graph and in the graph item library.