Files
YarikStudio/AssetStudio.GUI/Components/GameObjectTreeNode.cs
Razmoth 63b4464850 - [GUI] Highlight nodes that are exportable as fbx.
- [GUI] Add option to toggle between selecting all subnodes or matching only (using `Alt` key).
2024-02-27 14:59:31 +04:00

20 lines
444 B
C#

using System.Windows.Forms;
namespace AssetStudio.GUI
{
public class GameObjectTreeNode : TreeNode
{
public GameObject gameObject;
public GameObjectTreeNode(GameObject gameObject)
{
this.gameObject = gameObject;
Text = gameObject.m_Name;
if (gameObject.HasModel())
{
BackColor = System.Drawing.Color.LightBlue;
}
}
}
}