21 lines
433 B
C#
21 lines
433 B
C#
![]() |
#if UNITY_EDITOR
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using BITKit;
|
||
|
using Newtonsoft.Json;
|
||
|
using UnityEditor;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class PrintAllAsmdef : MonoBehaviour
|
||
|
{
|
||
|
[BIT]
|
||
|
public void Print()
|
||
|
{
|
||
|
var all = AssetDatabase.FindAssets("t:asmdef");
|
||
|
all = all.Select(x => $"GUID:{x}").ToArray();
|
||
|
Debug.Log(JsonConvert.SerializeObject(all));
|
||
|
}
|
||
|
}
|
||
|
#endif
|