Need activate custom button script in unity

Job ID: 34489441

Budget: $10 – $30 USD

Hello,

I have two custom buttons in my Unity game. I need activate them by script. I will use playmaker for it. But you need create just one script.

You can use maybe this - ExecuteEvents.Execute(button.gameObject, new BaseEventData(eventSystem), ExecuteEvents.submitHandler);
but dont use button gameobject, but use yourcustom script. Its working with button, but i need to be working with my flatbutton.cs Please check attached file. Its small task. 10usd budget.

Regards.