static LerpedStartCheck() { if (!LerpedCore.GetBool(LerpedCore.UnityBoot)) { LerpedCore.SetBool(LerpedCore.UnityBoot, true); string bPath = Path.GetDirectoryName(LerpedCore.GetString(LerpedEditorCore.buildPath)); if (string.IsNullOrEmpty(bPath)) { bPath = ""; return; } else if (!Directory.Exists(bPath)) { Debug.LogErrorFormat("Your fork from Lerp2API has been moved, re-edit the path under: 'Lerp2Dev Team Tools > Refresh Project API References > Change Path > Build Dependencies Path', click '...' and set the new path, pressing 'Save'.\n'{0}' directory path doesn't exists!", bPath); return; } long estimatedModTime = LerpedCore.GetLong(LerpedEditorCore.lastBuildTime), lastModTime = Helpers.LatestModification(bPath); if (estimatedModTime != lastModTime) { LerpedPaths lp = GetWindow <LerpedPaths>(); lp.iInit(lp, LerpedAPIChange.InEnter); } } }
static void Init() { me = GetWindow <LerpedPaths>(); me.iInit(me); }