@@ -185,7 +185,8 @@ public sealed partial class GunSystem
|
||||
container.AddChild(new TextureRect
|
||||
{
|
||||
Texture = texture,
|
||||
ModulateSelfOverride = altColor ? colorGoneA : colorGoneB
|
||||
ModulateSelfOverride = altColor ? colorGoneA : colorGoneB,
|
||||
Margin = new(0, 0, -8, 0)
|
||||
});
|
||||
|
||||
altColor ^= true;
|
||||
@@ -196,7 +197,8 @@ public sealed partial class GunSystem
|
||||
container.AddChild(new TextureRect
|
||||
{
|
||||
Texture = texture,
|
||||
ModulateSelfOverride = altColor ? colorA : colorB
|
||||
ModulateSelfOverride = altColor ? colorA : colorB,
|
||||
Margin = new(0, 0, -8, 0)
|
||||
});
|
||||
|
||||
altColor ^= true;
|
||||
@@ -333,7 +335,7 @@ public sealed partial class GunSystem
|
||||
}),
|
||||
(_noMagazineLabel = new Label
|
||||
{
|
||||
Text = "No Magazine!",
|
||||
Text = "Нет магазина!",
|
||||
StyleClasses = {StyleNano.StyleClassItemStatus}
|
||||
})
|
||||
}
|
||||
@@ -389,7 +391,8 @@ public sealed partial class GunSystem
|
||||
{
|
||||
Texture = texture,
|
||||
ModulateSelfOverride = altColor ? colorGoneA : colorGoneB,
|
||||
Stretch = TextureRect.StretchMode.KeepCentered
|
||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||
Margin = new(0, 0, -8, 0)
|
||||
});
|
||||
|
||||
altColor ^= true;
|
||||
@@ -403,7 +406,8 @@ public sealed partial class GunSystem
|
||||
{
|
||||
Texture = texture,
|
||||
ModulateSelfOverride = altColor ? colorA : colorB,
|
||||
Stretch = TextureRect.StretchMode.KeepCentered
|
||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||
Margin = new(0, 0, -8, 0)
|
||||
});
|
||||
|
||||
altColor ^= true;
|
||||
@@ -504,6 +508,7 @@ public sealed partial class GunSystem
|
||||
Stretch = TextureRect.StretchMode.KeepCentered,
|
||||
Texture = bulletTexture,
|
||||
ModulateSelfOverride = color,
|
||||
Margin = new(0, 0, -8, 0)
|
||||
});
|
||||
altColor ^= true;
|
||||
container.AddChild(box);
|
||||
|
||||
Reference in New Issue
Block a user