private void MergeParent(IGameUnit unit, string p, int type) { if (type == 0 || type == 1) { unit.GetParameters().Merge(units[p].GetParameters()); } }