List <string> GetErrorMessagesFrom(Delighting.ErrorCode errorCode) { int width = 0, height = 0; if (baseTexture != null) { width = baseTexture.width; height = baseTexture.height; } var errors = new List <string>(); DelightingHelpers.GetErrorMessagesFrom(errorCode, errors, width, height); return(errors); }