How to make the choice button unable but showing
I wanna the button can be turning to the unable state, still showing but can't click by mouse
I wanna the button can be turning to the unable state, still showing but can't click by mouse
On the top of the Choice Handler script when you create a new Choice Button, you can check Disable Interaction. If you want to control this in a Naninovel script, you can attach a Custom Variable Trigger component and on the Bool Variable Value Changed event you can set ChoiceHander.SetInteractable by dragging the choice handler button object into it. More information on Custom Variable Trigger component can be found here: https://naninovel.com/guide/custom-vari ... e-triggers
Is the default choice button which created by commend "@choice" can be controled by Custom Variable Trigger component?
The default ChoiceHandlerButton is stored in Naninovel > Prefabs > ChoiceHandlers, however it is not recommended to change any of the default prefabs as breaking them might cause operation issues. When you create a new Choice Button via the Asset Menu, it is the same button design as the default one.