internal static void InitializeUtility() { var dirs = Directory.GetDirectories(Application.dataPath, "Editor Toolbox", SearchOption.AllDirectories); if (dirs == null || dirs.Length == 0) { return; } ResourcesPath = dirs[0].Replace('\\', '/') + "/Editor Resources"; ResourcesPathRelative = ResourcesPath.Replace(Application.dataPath, "Assets"); }