Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Opacity

float Terraria.UI.InGamePopups.PlayerWantsToJoinGamePopup.Opacity
getprivate

Definition at line 165 of file InGamePopups.cs.

166 {
167 get
168 {
169 float scale = Scale;
170 if (scale <= 0.5f)
171 {
172 return 0f;
173 }
174 return (scale - 0.5f) / 0.5f;
175 }
176 }

Referenced by Terraria.UI.InGamePopups.PlayerWantsToJoinGamePopup.DrawInGame(), and Terraria.UI.InGamePopups.PlayerWantsToJoinGamePopup.PushAnchor().