mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-16 19:14:15 -04:00
Add more options to work with Scene Hierarchy (#23)
- Added option to group exported assets by node path in scene hierarchy - Added field with node path to exported xml asset list
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
using AssetStudio;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace AssetStudioCLI
|
||||
@ -6,11 +5,12 @@ namespace AssetStudioCLI
|
||||
internal class BaseNode
|
||||
{
|
||||
public List<BaseNode> nodes = new List<BaseNode>();
|
||||
public string FullPath = "";
|
||||
public readonly string Text;
|
||||
|
||||
public BaseNode()
|
||||
public BaseNode(string name)
|
||||
{
|
||||
|
||||
Text = name;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
using AssetStudio;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace AssetStudioCLI
|
||||
{
|
||||
@ -7,10 +6,9 @@ namespace AssetStudioCLI
|
||||
{
|
||||
public GameObject gameObject;
|
||||
|
||||
public GameObjectNode(GameObject gameObject)
|
||||
public GameObjectNode(GameObject gameObject) : base(gameObject.m_Name)
|
||||
{
|
||||
this.gameObject = gameObject;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user