// 删除第一个id为指定id的特效 public void RemoveSlotFx(int id, string bone_path) { if (fxList.ContainsKey(bone_path)) { int i; for (i = 0; i < fxList[bone_path].Count; i++) { if (fxList[bone_path][i].Key == id) { break; } } handler.RemoveSlotCue(id, fxList[bone_path][i].Value); fxList[bone_path].RemoveAt(i); if (fxList[bone_path].Count == 0) { fxList.Remove(bone_path); } } }