Example #1
0
        protected override void dispose()
        {
            base.dispose();

            if (!_childrenDic.isEmpty())
            {
                UIObject[] values;
                UIObject   v;

                for (int i = (values = _childrenDic.getValues()).Length - 1; i >= 0; --i)
                {
                    if ((v = values[i]) != null)
                    {
                        v.doDispose();
                    }
                }
            }
        }
Example #2
0
 /// <summary>
 /// map是否为空
 /// </summary>
 public bool func_MapIsEmpty(TriggerExecutor e, TriggerArg a, SMap <object, object> map)
 {
     return(map.isEmpty());
 }