Пример #1
0
    public void Set(int index)
    {
        index = Mathf.Clamp(index, 0, allFXSet.Count - 1);

        currentFxSet = allFXSet[index];
    }
Пример #2
0
	public void Set( int index )
	{
		index = Mathf.Clamp( index, 0, allFXSet.Count-1 );
		
		currentFxSet = allFXSet[index];
	}