med-material / LoggingManager

LoggingManager Package for Unity. Saves to CSV and to MySQL Databases.
MIT License
3 stars 3 forks source link

ConnectToMySQL: Add OnLogsUploaded() Event #7

Closed bastianilso closed 4 years ago

bastianilso commented 4 years ago

Currently ConnectToMySQL sends Debug messages concerning the status of sending data but does not allow apps to subscribe to any events. This commit adds a UnityEvent which is emitted when the uploading finishes. The uploading can either have a status of success or fail (along with an error message).

The code will need to be tested in a deployment first, before we can merge into master.