Click or drag to resize

Utility Methods

The Utility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddTopLevelObjectToJson
Hack to add a top level object to a json string because Unity does not like top level collections.
Public methodStatic memberApproximately(Double, Double, Double)
Approximately the specified a, b and tolerance.
Public methodStatic memberApproximately(Single, Single, Single)
Approximately the specified a, b and tolerance.
Public methodStatic memberApproximately(Quaternion, Quaternion, Single)
Approximately Quaternion with the specified a, b and tolerance.
Public methodStatic memberApproximately(Vector3, Vector3, Single)
Approximately the specified a, b and tolerance.
Public methodStatic memberColor32ArrayToByteArray
Converts Color32 array to Byte array.
Public methodStatic memberCreateAuthorization
Create basic authentication header data for REST requests.
Public methodStatic memberDeserializeResponseT(Byte, Object)
Deserializes the response.
Public methodStatic memberDeserializeResponseT(String, Object)
Deserializes the response.
Public methodStatic memberFindAllDerivedTypes
This helper functions returns all Type's that inherit from the given type.
Public methodStatic memberFindObject
Finds the object in child of parent object by name of child
Public methodStatic memberFindObjectsT
Finds the objects in children of parent object by name of child
Public methodStatic memberGetEpochUTCMilliseconds
Gets the EPOCH time in UTC time zome
Public methodStatic memberGetEpochUTCSeconds
Gets the epoch UTC seconds.
Public methodStatic memberGetExtension
Public methodStatic memberGetLocalDateTimeFromEpoch
Gets the date time from epoch.
Public methodStatic memberGetMD5
Get the MD5 hash of a string.
Public methodStatic memberGetMimeType
Public methodStatic memberGetOnOffString
Gets the on off string.
Public methodStatic memberGetToken
Gets a token to authenticate serivce calls instead of using username and password.
Public methodStatic memberRemoveTags
Removes any tags from a string. (e.g. )
Public methodStatic memberStripString
Strips the prepending ! statment from string.
Top
See Also