docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetProbability

    GetProbability(int)

    Returns the probability value stored at the specified index

    Declaration
    public float GetProbability(int index)
    Parameters
    Type Name Description
    int index

    The index of the probability value to lookup

    Returns
    Type Description
    float

    The probability value stored at the specified index

    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)