static public int Invoke(IntPtr l)
 {
     try {
         UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l);
         System.Int32 a1;
         checkType(l, 2, out a1);
         self.Invoke(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Ejemplo n.º 2
0
        public UnityEngine.UI.Dropdown.DropdownEvent onValueChange;         //A simple wrapper class because Unity can't serialize Generics

        protected override void ApplySetting(int _value)
        {
            onValueChange.Invoke(_value);
        }