docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Rejectable

    The Rejectable struct is used in the situation when you need to call Reject(Exception) or Reject(Exception), but you don't want to deal with the exact type.

    Namespace: UnityEngine.Promise
    Assembly: solution.dll
    Syntax
    public struct Rejectable

    Methods

    Name Description
    Reject(Exception)

    Rejects the handled promise for the given reason.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)