/// <summary> /// Creates clone from the project currently open in Unity Editor. /// </summary> /// <returns></returns> public static Project CreateCloneFromCurrent() { if (IsClone()) { Debug.LogError("This project is already a clone. Cannot clone it."); return(null); } string currentProjectPath = ClonesManager.GetCurrentProjectPath(); return(ClonesManager.CreateCloneFromPath(currentProjectPath)); }