Package uk.me.nxg.unity
Class Version
java.lang.Object
uk.me.nxg.unity.Version
Manage version information
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Indicate the package version, as an integer.static String
Indicate the package version, as a printable string giving the package name and version
-
Method Details
-
versionString
Indicate the package version, as a printable string giving the package name and version- Returns:
- a string representation of the version
-
versionInteger
public static int versionInteger()Indicate the package version, as an integer. The number returned is major-version * 1e6 + minor-version * 1e3 + release.- Returns:
- an integer representation of the version
-