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")); }
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); }