UnityUtilities/Assets/Scripts/Indices/Ids.cs
/// <summary>
/// Used to assign id for each entity with this class.
/// </summary>
Used to assign id for each entity with this class.
Used to assign id for each entity with this class .
public void CalculateId()
        {
            if (_state == DataState.Unknown)
            {
                _id = _idCounter++;
                _state = DataState.Updated;
            }
        }
public void CalculateId ( ) { if ( _state == DataState . Unknown ) { _id = _idCounter ++ ; _state = DataState . Updated ; } }
Used to assign id for each entity with this class.
Used to assign id for each entity with this class .