Included Extensions
FeedbackPRO comes bundled with a bunch of generic data extensions that are normally used by all projects. Some extensions are extremely simple, while others can be configured to provide the best results for your project.
Listed here are all included section and file extensions. Extensions are all inside the Extensions folder, using the F10.FeedbackPRO.Extensions namespace. More information can be found in the Scripting API section.
Application Information
| Class Name | Extension Type |
|---|---|
AppInfoExtension |
Section |
This extension includes information about the build being played by the user.
The included data contains:
- Application's product name
- Application's version and platform
- Used installer (mobile only, it may not be included in other platforms)
- Build's GUID (only included in built projects)
- Unity version
- Genuine check (may not be available in all platforms)
var extension = new AppInfoExtension();
Play Time
| Class Name | Extension Type |
|---|---|
PlayTimeExtension |
Section |
This extension includes the user's play time and local time.
The included data contains:
- The total playtime of the user (ex. 1:23h)
- The user's local time and timezone.
var extension = new PlayTimeExtension();
System Information
| Class Name | Extension Type |
|---|---|
SystemInfoExtension |
Section |
This extension includes information about the user's system.
The included data contains:
- Operating System and version
- Processor brand, name and rated speed
- Memory size in MB (RAM)
- Graphics card brand, name
- Graphics API being used (Metal, Vulkan, etc.)
- System language
var extension = new SystemInfoExtension();
Screenshot
| Class Name | Extension Type |
|---|---|
ScreenshotExtension |
File |
This extension handles fullscreen screenshots.
This extension is serializable, and contains the following editable values:
screenshotName: Name given to the screenshot file. Defaults to formatted UTC time if no name is given.
var extension = new ScreenshotExtension();
var extension = new ScreenshotExtension("Custom File Name");
By default, it will take a screenshot as soon as the form is submitted. This may not be the desired outcome, as it may contain the feedback form, or any other UI in front at that time.
The following example will take a screenshot manually at a desired time:
[SerializeField]
private ScreenshotExtension _screenshotExtension;
public void ManualScreenshot() {
_screenshotExtension.TakeScreenshot();
}
public void SubmitForm() {
var files = new List<IFeedbackDataSection>();
files.Add(_screenshotExtension);
var data = new FeedbackData(
_title.text,
_summary.text,
files);
Feedback.Send(data);
}