Skip to main content

resolve_project_root

Function resolve_project_root 

Source
pub fn resolve_project_root(path: &str) -> String
Expand description

Resolve symlinks then climb up to the nearest ancestor containing ProjectSettings/ProjectVersion.txt. Falls back to the resolved input if no Unity root is found.