public static void LogObj <T>(T obj, string tag = "", bool timePrefix = false) { if (EnableLog) { var log = timePrefix ? $"[{BuildTimeStamp()}]" + tag : tag; VeeUtils.LogObj(obj, log); } }
public static List <string> FindCodeFiles(string fileNameWithoutExt, List <string> folders = null) { if (folders == null || folders.Count <= 0) { folders = new List <string>() { "Assets/Game/Scripts" } } ; var guids = FindAssetsExactly(fileNameWithoutExt, "t:Object", folders.ToArray()); var ret = guids.Select(g => AssetDatabase.GUIDToAssetPath(g)).ToList(); VeeUtils.LogObj(ret); return(ret); }