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

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