Minigame click max 3 mal #50

Open
jlink wants to merge 1 commits from Minigame_extra_click into develop

@ -14,5 +14,9 @@ position = Vector2(23, -96)
scale = Vector2(0.547474, 0.547474) scale = Vector2(0.547474, 0.547474)
texture = SubResource("AtlasTexture_ane0o") texture = SubResource("AtlasTexture_ane0o")
[node name="CollisionShape2D" parent="TargetSelection/Click" index="0"]
position = Vector2(-1.955, -98.545)
scale = Vector2(0.6400007, 0.68000054)
[node name="Sprite2D" parent="TargetSelection/HoverIndicator" index="0"] [node name="Sprite2D" parent="TargetSelection/HoverIndicator" index="0"]
position = Vector2(1, -126) position = Vector2(1, -126)

@ -137,6 +137,9 @@ public partial class MinigameController : Node2D
public void Hit() public void Hit()
{ {
if (_hits == null) return; if (_hits == null) return;
if(_hits.Count >= _maxHitCount) return;
int i; int i;
for (i = 0; i < _regions!.Count - 1; i++) for (i = 0; i < _regions!.Count - 1; i++)

Loading…
Cancel
Save