private void OnSelectIcon()
        {
            SerializeValueList currentValue = FlowNode_ButtonEvent.currentValue as SerializeValueList;

            if (currentValue == null)
            {
                return;
            }
            this.Select(currentValue.GetInt("index"), currentValue.GetInt("type"), currentValue.GetBool("bonus"));
        }
Пример #2
0
        private bool CheckGetUnitFrame()
        {
            bool flag = false;
            SerializeValueList currentValue = FlowNode_ButtonEvent.currentValue as SerializeValueList;

            if (currentValue != null)
            {
                flag = currentValue.GetBool("is_first_get_unit");
            }
            return(flag);
        }