Search Unity

Consolidating onclick scripts in DFGUI

Discussion in 'Scripting' started by WizardGameDev, Mar 31, 2015.

  1. WizardGameDev

    WizardGameDev

    Joined:
    Jul 25, 2012
    Posts:
    62
    Greetings,

    I'm using DFGUI and have what I would think is a simple question. Right now for each button I'm finding myself having to make a unique script for each one to pickup "ONCLICK()" from that button. Is there a way to consolidate these button scripts into a button handler?

    Many thanks!