Skip to content

Added a radio toggle (MAPCO-9478)#31

Open
ofekazar wants to merge 1 commit intomasterfrom
MAPCO-9478-radio-button
Open

Added a radio toggle (MAPCO-9478)#31
ofekazar wants to merge 1 commit intomasterfrom
MAPCO-9478-radio-button

Conversation

@ofekazar
Copy link
Collaborator

@ofekazar ofekazar commented Mar 5, 2026

image image

It also has the unintrutable sprites.

@github-actions
Copy link

github-actions bot commented Mar 5, 2026

🎫 Related Jira Issue: MAPCO-9478

Comment on lines +4 to +12
namespace YahalomUIPackage.Editor.YahalomRadioToggle {

[CustomEditor(typeof(YahalomUIPackage.Runtime.YahalomRadioToggle.YahalomRadioToggle))]
[CanEditMultipleObjects]
public class YahalomRadioToggleEditor : ToggleEditor {
private SerializedProperty _checkedSprite;
private SerializedProperty _uncheckedSprite;
private SerializedProperty _disabledCheckedSprite;
private SerializedProperty _disabledUncheckedSprite;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format file

Comment on lines +4 to +15
namespace YahalomUIPackage.Runtime.YahalomRadioToggle
{

public class YahalomRadioToggle : Toggle
{
[Header("Yahalom Toggle Sprites")]
[SerializeField] private Sprite _checkedSprite;
[SerializeField] private Sprite _uncheckedSprite;
[SerializeField] private Sprite _disabledCheckedSprite;
[SerializeField] private Sprite _disabledUncheckedSprite;

[SerializeField] private Image _toggleImage;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

format file

Copy link
Collaborator

@baruchInsert-tech baruchInsert-tech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename assets and prefab
("radio_checked", "radio_unckeck") ("yahalomradiotoggle)

@baruchInsert-tech baruchInsert-tech added the In Progress task development has started label Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In Progress task development has started

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants