docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetRandomizer

    GetRandomizer(int)

    Returns the randomizer present at the given index

    Declaration
    public Randomizer GetRandomizer(int index)
    Parameters
    Type Name Description
    int index

    The lookup index

    Returns
    Type Description
    Randomizer

    The randomizer present at the given index

    GetRandomizer<T>()

    Finds and returns a randomizer attached to this scenario of the specified Randomizer type

    Declaration
    public T GetRandomizer<T>() where T : Randomizer
    Returns
    Type Description
    T

    A randomizer of the specified type

    Type Parameters
    Name Description
    T

    The type of randomizer to find

    Exceptions
    Type Condition
    ScenarioException
    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)