Fix back button not being clickable ever and also fix normalize button being interactable by default
This commit is contained in:
@@ -5331,7 +5331,7 @@ MonoBehaviour:
|
|||||||
m_PressedTrigger: Pressed
|
m_PressedTrigger: Pressed
|
||||||
m_SelectedTrigger: Selected
|
m_SelectedTrigger: Selected
|
||||||
m_DisabledTrigger: Disabled
|
m_DisabledTrigger: Disabled
|
||||||
m_Interactable: 1
|
m_Interactable: 0
|
||||||
m_TargetGraphic: {fileID: 1461746394}
|
m_TargetGraphic: {fileID: 1461746394}
|
||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ public class PlayMenu : MonoBehaviour
|
|||||||
total += GetValueFrom(nothingBerryChance);
|
total += GetValueFrom(nothingBerryChance);
|
||||||
if (total == 100f)
|
if (total == 100f)
|
||||||
{
|
{
|
||||||
|
customBackButton.interactable = true;
|
||||||
customPlayButton.interactable = true;
|
customPlayButton.interactable = true;
|
||||||
validateTotalText.gameObject.SetActive(false);
|
validateTotalText.gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user