docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SequentialIDGenerator

    Simple Key generator that increments the next key by 1 each time.

    Inheritance
    object
    SequentialIDGenerator
    Implements
    IKeyGenerator
    Namespace: UnityEngine.Localization.Tables
    Assembly: Unity.Localization.dll
    Syntax
    public class SequentialIDGenerator : IKeyGenerator

    Constructors

    Name Description
    SequentialIDGenerator()

    Create a new instance that starts at 1.

    SequentialIDGenerator(long)

    Creates a new instance starting from startingId.

    Properties

    Name Description
    NextAvailableId

    The next id value that will be provided by GetNextKey()

    Methods

    Name Description
    GetNextKey()

    Returns NextAvailableId and increments it by 1.

    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)