private void LogNow(ImportExportLogType logType, ScriptableObject scriptableObject) { if (this.logs == null) { this.logs = new List <ImportExportLog>(); } this.logs.Add(new ImportExportLog(logType, DateTime.Now, scriptableObject)); }
public ImportExportLog(ImportExportLogType logType, DateTime dateTime, ScriptableObject scriptableObject) { this.logType = logType; this.dateTime = dateTime; this.scriptableObject = scriptableObject; }