Example #1
0
    public void AddButtonUpLisenter(string objName, UnityAction <BaseEventData> action)
    {
        UIBehaviours tmpBehavrours = GetUIComponent <UIBehaviours>(objName);

        if (tmpBehavrours != null)
        {
            tmpBehavrours.AddButtonUpLisenter(action);
        }
    }