Ejemplo n.º 1
0
    private void InitializeExodusBiomeSystem(int numberOfBiomes)
    {
        _numberOfBiomes = numberOfBiomes;
        _currentBiome   = 0;

        _currentColorType = ExodusLocationColorType.DiscreteSingle;
        _biomeColors      = Colors.ColorListProcedural(ExodusSettings.numberOfBiomes);
        _biomeColors      = Colors.ColorListManual();
    }
Ejemplo n.º 2
0
    public void RotateView()
    {
        ExodusLocationColorType newType = _currentColorType;

        if (_currentColorType == ExodusLocationColorType.DiscreteSingle)
        {
            newType = ExodusLocationColorType.DiscreteMulti;
        }
        else if (_currentColorType == ExodusLocationColorType.DiscreteMulti)
        {
            newType = ExodusLocationColorType.ContinuousSingle;
        }
        else if (_currentColorType == ExodusLocationColorType.ContinuousSingle)
        {
            newType = ExodusLocationColorType.ContinuousMulti;
        }
        else if (_currentColorType == ExodusLocationColorType.ContinuousMulti)
        {
            newType = ExodusLocationColorType.DiscreteSingle;
        }
        Debug.Log("Rotating from " + _currentColorType.ToString() + " to " + newType.ToString());
        _currentColorType = newType;
    }