20 lines
469 B
C#
Executable File
20 lines
469 B
C#
Executable File
using UnityEngine;
|
|
|
|
namespace ReferenceViewer
|
|
{
|
|
[System.Serializable]
|
|
public class PrefabAssetData : AssetData
|
|
{
|
|
public new const string extension = ".prefab";
|
|
|
|
public PrefabAssetData(string assetPath) : base(assetPath)
|
|
{
|
|
}
|
|
|
|
public override void AddAssetData(Object obj)
|
|
{
|
|
AddReference(obj);
|
|
// CollectDependencies(obj as GameObject, new SerializedObject(obj), "");
|
|
}
|
|
}
|
|
} |