This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

Sign in to follow this  
Followers 0
UnityGamesRoland

[C#] Increase/Decrease Quality Level

3 posts in this topic

Nothing fancy, pretty much does what it says. You can increase/decrease the current quality level. Quality Levels can be found under Edit > Project Settings > Quality and you can create custom quality levels there as well.

Attach the script to a gameObject, set a display text (UGUI Text) and call the UpdateGraphics(true/false) to increase/decrease the quality level.

 

Please login or register to see this spoiler.

 

In this demo, I called the UpdateGraphics() by using an event. You can learn more about it Please login or register to see this link. .

1g1s3l.gif

2 people like this

Share this post


Link to post
Share on other sites

Interesting tip which I didn't know. Cool stuff. Thank you ++

Share this post


Link to post
Share on other sites

Nice job plugging in currentQuality into a string array like that. Best way I've seen it done thus far. Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0