Click or drag to resize
UnityVersion Structure
A struct for getting and comparing Unity versions.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public struct UnityVersion : IEquatable<UnityVersion>

The UnityVersion type exposes the following members.

Constructors
  NameDescription
Public methodUnityVersion
Initializes a new instance of the UnityVersion struct.
Top
Methods
  NameDescription
Public methodCompareTo
Compares this instance to the supplied other.
Public methodEquals(Object)
Determines whether the specified Object is equal to the current UnityVersion.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(UnityVersion)
Determines whether the specified UnityVersion is equal to the current UnityVersion.
Public methodGetHashCode
Serves as a hash function for a UnityVersion object.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Returns a String that represents the UnityVersion instance.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether one UnityVersion is equal to another.
Public operatorStatic memberGreaterThan
Gets a value indicating whether one UnityVersion is newer than another.
Public operatorStatic memberGreaterThanOrEqual
Gets a value indicating whether one UnityVersion is newer than or equal to another.
Public operatorStatic memberInequality
Gets a value indicating whether one UnityVersion is unequal to another.
Public operatorStatic memberLessThan
Gets a value indicating whether one UnityVersion is older than another.
Public operatorStatic memberLessThanOrEqual
Gets a value indicating whether one UnityVersion is older than or equal to another.
Top
Properties
  NameDescription
Public propertyStatic memberCurrent
Gets the currently running version.
Public propertyMaintenanceVersion
Gets the maintenance version.
Public propertyMajorVersion
Gets the major version.
Public propertyMinorVersion
Gets the minor version.
Top
See Also