Ejemplo n.º 1
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;
    }