Class FeedbackForm
Namespace: AeLa.EasyFeedback
Assembly: cs.temp.dll.dll
Syntax
public class FeedbackForm : MonoBehaviour
Fields
Config
Declaration
public EFConfig Config
Field Value
Type | Description |
---|---|
EFConfig |
CurrentReport
The current report being built. Will be sent as next report
Declaration
public Report CurrentReport
Field Value
Type | Description |
---|---|
Report |
Form
Declaration
public Transform Form
Field Value
Type | Description |
---|---|
Transform |
IncludeScreenshot
Declaration
public bool IncludeScreenshot
Field Value
Type | Description |
---|---|
Boolean |
OnFormClosed
Called when the form is closed, whether or not it was submitted
Declaration
public UnityEvent OnFormClosed
Field Value
Type | Description |
---|---|
UnityEvent |
OnFormOpened
Called when the form is first opened, right before it is shown on screen
Declaration
public UnityEvent OnFormOpened
Field Value
Type | Description |
---|---|
UnityEvent |
OnFormSubmitted
Called right before the report is sent to Trello, so additional information may be added.
Declaration
public UnityEvent OnFormSubmitted
Field Value
Type | Description |
---|---|
UnityEvent |
OnSubmissionError
Called to notify of any errors during submission
Declaration
public FeedbackForm.SubmissionMessageEvent OnSubmissionError
Field Value
Type | Description |
---|---|
FeedbackForm.SubmissionMessageEvent |
OnSubmissionFailed
Called if the submission fails
Declaration
public UnityEvent OnSubmissionFailed
Field Value
Type | Description |
---|---|
UnityEvent |
OnSubmissionSucceeded
Called when the submission has successfully completed
Declaration
public UnityEvent OnSubmissionSucceeded
Field Value
Type | Description |
---|---|
UnityEvent |
ResizeLargeScreenshots
Resizes screenshots larger than 1080p to help with Trello's filesize limit.
Declaration
public bool ResizeLargeScreenshots
Field Value
Type | Description |
---|---|
Boolean |
Remarks
Not supported in Legacy screenshot capture mode.
ScreenshotCaptureMode
Method used to capture the screenshot.
Declaration
public ScreenshotMode ScreenshotCaptureMode
Field Value
Type | Description |
---|---|
ScreenshotMode |
Properties
IsOpen
Whether or not the form is currently being displayed
Declaration
public bool IsOpen { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Awake()
Declaration
public void Awake()
DisableForm()
Disables all the Selectable elements on the form.
Declaration
public void DisableForm()
EnableForm()
Enables all the Selectable elements on the form.
Declaration
public void EnableForm()
Hide()
Hides the form, called by the Close button.
Declaration
public void Hide()
InitTrelloAPI()
Declaration
public void InitTrelloAPI()
Show()
Takes a screenshot, then opens the form
Declaration
public void Show()
Submit()
Called by the submit button, submits the form.
Declaration
public void Submit()
Toggle()
Toggles the open state of the form
Declaration
public void Toggle()