示例#1
0
 public ScreenCover(Color color = default(Color), float maxOpacity = 0.5f) : base(new Camera(), () => Vector2.Zero, () => DisplayOptions.Resolution)
 {
     SmoothOpacity.ResetValue(0);
     _maxOpacity = maxOpacity;
     ColorChanger.ResetColor(color);
 }
 protected override void SetPressStyle()
 {
     SmoothOpacity.ResetValue(1);
     ColorChanger.ResetColor(PressColor.Color);
 }