Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssetPathFromAbsolute ¶ added in v0.8.0
AssetPathFromAbsolute renders an absolute path as a project-relative "Assets/..." slash path. It errors if the path is not under assetsRoot.
func LoadPrefabGUID ¶
func ResolvePath ¶ added in v0.8.0
ResolvePath returns p made absolute and symlink-resolved (falling back to a cleaned absolute, then a cleaned raw path, if resolution fails), so it can be used for physical-path identity checks. Two different spellings of one file (a symlinked directory, or a cwd-relative arg that normalizes differently from an absolute one — e.g. macOS /tmp vs /private/tmp) resolve to the same string.
Types ¶
Click to show internal directories.
Click to hide internal directories.