void DrawJelly() { for (int x = 0; x < profile.width; x++) { for (int y = 0; y < profile.height; y++) { if (DrawSlotButton(x, y, rect, profile)) { profile.SetJelly(x, y, profile.GetJelly(x, y) + 1); if (profile.GetJelly(x, y) > 3) { profile.SetJelly(x, y, 0); } } } } DrawWallPreview(rect, profile); }