C# Class UnityEngine.Localization.Tables.SequentialIDGenerator

Simple Key generator that increments the next key by 1 each time.
Inheritance: IKeyGenerator
Afficher le fichier Open project: needle-mirror/com.unity.localization

Méthodes publiques

Méthode Description
GetNextKey ( ) : long

Returns NextAvailableId and increments it by 1.

SequentialIDGenerator ( )

Create a new instance that starts at 1.

SequentialIDGenerator ( long startingId )

Creates a new instance starting from startingId.

Method Details

GetNextKey() public méthode

Returns NextAvailableId and increments it by 1.
public GetNextKey ( ) : long
Résultat long

SequentialIDGenerator() public méthode

Create a new instance that starts at 1.

SequentialIDGenerator() public méthode

Creates a new instance starting from startingId.
public SequentialIDGenerator ( long startingId )
startingId long