docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method OnDispose

    OnDispose()

    Unity calls this automatically when the evaluator is being disposed. This is also called when the evaluator filter is destroyed.

    Declaration
    protected virtual void OnDispose()
    Remarks

    OnDispose will only be called if a call to Awake() happened before.

    See Also
    Dispose()
    RemoveEvaluator(XRTargetEvaluator)
    RemoveEvaluatorAt(int)
    In This Article
    Back to top
    Copyright © 2023 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)