![]() |
UTMail
1.1
Email Composition and Sending Plugin
|
Various utility functions used by UTMail. More...
Public Member Functions | |
| void | DispatchToMainThread (global::System.Action action) |
| Dispatches the action to be executed in the main Unity thread (in LateUpdate stage). More... | |
Static Public Member Functions | |
| static string [] | MailAddressCollectionToStrings (MailAddressCollection collection) |
| Converts MailAddressCollection to string[]. More... | |
| static string | StreamToFilePath (Stream stream, string fileName) |
| Writes a stream into a temporary file. More... | |
| static string | AttachmentToFilePath (Attachment attachment) |
| Writes an attachment into a temporary file. More... | |
| static string [] | AttachmentsToFilePaths (AttachmentCollection attachments) |
| Writes a collection of attachments into temporary files. More... | |
| static void | CleanTempAttachmentDirectory () |
| Cleans the temporary attachments directory. More... | |
| static void | InstanceRequired () |
| Makes sure the only instance of MailUtil exists. More... | |
Properties | |
| static MailUtil | Instance [get] |
| Returns the only instance of MailUtil. More... | |
Various utility functions used by UTMail.
|
static |
Writes a collection of attachments into temporary files.
|
static |
Writes an attachment into a temporary file.
|
static |
Cleans the temporary attachments directory.
| void UT.MailUtil.DispatchToMainThread | ( | global::System.Action | action | ) |
Dispatches the action to be executed in the main Unity thread (in LateUpdate stage).
|
static |
Makes sure the only instance of MailUtil exists.
|
static |
Converts MailAddressCollection to string[].
|
static |
Writes a stream into a temporary file.
1.8.14