- [Core] Exportable Material.

- [Core] Added name to `PPtr` and `Object` when available.
This commit is contained in:
Razmoth
2023-09-26 11:53:47 +04:00
parent f1ea41a2c7
commit a0abbe8037
15 changed files with 49 additions and 88 deletions

View File

@@ -10,6 +10,7 @@ namespace AssetStudio
public PPtr<MonoScript> m_Script;
public string m_Name;
public override string Name => string.IsNullOrEmpty(m_Name) ? m_Script.Name : m_Name;
public MonoBehaviour(ObjectReader reader) : base(reader)
{
m_Script = new PPtr<MonoScript>(reader);