I want to disable this button and display other buttons, such as button 1 click, button 2, button 3 display, but I don’t how can I send a message to button 2 button 3, button 1 is OnClick, because OnClick.Subscribe(Function) function can’t have parameter.
Actually, Onclick sends a parameter of type widget_message, which should be an interfacce made by Player and Widget.
You can access the player to give the new 2 buttons by writing this:
Functions(Wdata : widget_message):void=
if(Player := Wdata.Player)=
#Your code here
Thanks! I will try it!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.