Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void AntiAliasing(GameObject Description){
- sliderValue = (int)AASlider.GetComponent<Slider> ().value;
- switch(sliderValue){
- case 1:
- Description.GetComponent<Text> ().text = "None";
- break;
- case 2:
- Description.GetComponent<Text> ().text = "2x";
- break;
- case 3:
- Description.GetComponent<Text> ().text = "4x";
- break;
- case 4:
- Description.GetComponent<Text> ().text = "8x";
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement