Class SequentialIDGenerator
Simple Key generator that increments the next key by 1 each time.
Implements
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 |
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. |