- [GUI] Add option to toggle between selecting all subnodes or matching only (using `Alt` key).
20 lines
444 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|