Class AppVersion
Stores the current version of the software being developed. Adhears to Semantic Versioning.
Inheritance
System.Object
AppVersion
Namespace: ScriptableFramework
Assembly: cs.temp.dll.dll
Syntax
public class AppVersion : ScriptableObject
Methods
GetVersionNumber()
Creates a string in the semver format according to the set values in the inspector.
Declaration
protected virtual string GetVersionNumber()
Returns
| Type | Description |
|---|---|
| System.String | The semver string of the current software being developed. |
ToString()
Treat this object as a read only string of the current semver.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String | The semver string. |
Operators
Implicit(AppVersion to String)
Implicitly cast this AppVersions into a string for display in the UI.
Declaration
public static implicit operator string (AppVersion version)
Parameters
| Type | Name | Description |
|---|---|---|
| AppVersion | version | The object to cast. |
Returns
| Type | Description |
|---|---|
| System.String |