docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GenerateRandomSeed

    GenerateRandomSeed(uint)

    Generates a random seed by hashing the current scenario iteration with a given base random seed

    Declaration
    public uint GenerateRandomSeed(uint baseSeed = 539662031)
    Parameters
    Type Name Description
    uint baseSeed

    Used to offset the seed generator

    Returns
    Type Description
    uint

    The generated random seed

    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)