docs.unity3d.com
    目次を表示する/隠す

    Class SequentialIDGenerator

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

    Inheritance
    Object
    SequentialIDGenerator
    Namespace: UnityEngine.Localization.Tables
    Syntax
    public class SequentialIDGenerator : IKeyGenerator

    Constructors

    SequentialIDGenerator()

    Create a new instance that starts at 1.

    Declaration
    public SequentialIDGenerator()

    SequentialIDGenerator(Int64)

    Creates a new instance starting from startingId.

    Declaration
    public SequentialIDGenerator(long startingId)
    Parameters
    Type Name Description
    Int64 startingId

    Properties

    NextAvailableId

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

    Declaration
    public long NextAvailableId { get; }
    Property Value
    Type Description
    Int64

    Methods

    GetNextKey()

    Returns NextAvailableId and increments it by 1.

    Declaration
    public long GetNextKey()
    Returns
    Type Description
    Int64
    Implements
    IKeyGenerator.GetNextKey()
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)