Interface IFeedbackReceiver
Implementors can receive Feedback Requests
Namespace: UnityEditor.Experimental.EditorVR
Syntax
public interface IFeedbackReceiver
Methods
AddFeedbackRequest(FeedbackRequest)
Add a feedback request to be presented by this receiver
Declaration
void AddFeedbackRequest(FeedbackRequest request)
Parameters
Type | Name | Description |
---|---|---|
FeedbackRequest | request | Information about the request, usually cast to a custom type defined by the receiver |
ClearFeedbackRequests(IUsesRequestFeedback)
Clear feedback requests that were added by this caller. The FeedbackModule can also call this with a null argument, signaling the intent to clear all requests from all callers.
Declaration
void ClearFeedbackRequests(IUsesRequestFeedback caller)
Parameters
Type | Name | Description |
---|---|---|
IUsesRequestFeedback | caller | The IUsesRequestFeedback whose requests will be cleared |
RemoveFeedbackRequest(FeedbackRequest)
Remove a feedback request and stop presenting it
Declaration
void RemoveFeedbackRequest(FeedbackRequest request)
Parameters
Type | Name | Description |
---|---|---|
FeedbackRequest | request | The request object used in AddFeedbackRequest |