Interface IProvidesRequestFeedback | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Interface IProvidesRequestFeedback

    Provide the ability to request feedback

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesRequestFeedback : IFunctionalityProvider

    Methods

    AddFeedbackRequest(FeedbackRequest)

    Add a feedback request to the system

    Declaration
    void AddFeedbackRequest(FeedbackRequest request)
    Parameters
    Type Name Description
    FeedbackRequest request

    The feedback request

    ClearFeedbackRequests(IUsesRequestFeedback)

    Clear all feedback requests submitted by this caller from the system

    Declaration
    void ClearFeedbackRequests(IUsesRequestFeedback caller)
    Parameters
    Type Name Description
    IUsesRequestFeedback caller

    The caller object

    GetFeedbackRequestObject<TRequest>(IUsesRequestFeedback)

    Get a pooled FeedbackRequest object from the system

    Declaration
    TRequest GetFeedbackRequestObject<TRequest>(IUsesRequestFeedback caller)
        where TRequest : FeedbackRequest, new()
    Parameters
    Type Name Description
    IUsesRequestFeedback caller

    The caller object

    Returns
    Type Description
    TRequest

    A feedback request object in its default initial state

    Type Parameters
    Name Description
    TRequest

    The desired type of feedback request

    RemoveFeedbackRequest(FeedbackRequest)

    Remove a feedback request from the system

    Declaration
    void RemoveFeedbackRequest(FeedbackRequest request)
    Parameters
    Type Name Description
    FeedbackRequest request

    The feedback request

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX