Last active
April 15, 2021 08:08
-
-
Save quizcanners/2003782ef64185f9bfbb1074ef0e2710 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Inspect() | |
{ | |
if ("Object's Transparency:".edit(ref transparency)) | |
RecalculateShaderParameters(); | |
if (transparency != 0.5f && icon.Refresh.Click("Will load default value",25).nl()) | |
transparency = 0.5f; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment