Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareVersions ¶
CompareVersions compares two Unity editor versions.
Types ¶
type ProjectVersion ¶
type ProjectVersion struct { EditorVersion string `json:"m_EditorVersion"` EditorVersionWithRevision string `json:"m_EditorVersionWithRevision"` }
ProjectVersion contains information about the supported editor version for the project.
func ProjectVersionFromProject ¶
func ProjectVersionFromProject(projectPath string) (*ProjectVersion, error)
ProjectVersionFromProject attempts to load the editor version information given the path to a Unity project.
func (*ProjectVersion) VersionAndRevision ¶
func (p *ProjectVersion) VersionAndRevision() (string, string)
VersionAndRevision parses the editor version number and revision from the project version file.
Click to show internal directories.
Click to hide internal directories.