C# Class UnityEngine.Localization.Tables.SequentialIDGenerator

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

Public Methods

Method 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 method

Returns NextAvailableId and increments it by 1.
public GetNextKey ( ) : long
return long

SequentialIDGenerator() public method

Create a new instance that starts at 1.

SequentialIDGenerator() public method

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