public static void ConvertSkillShape(SkillUnit.SkillShape oUnit, SkillShape unit) { oUnit.area = (SkillUnit.SkillShape.Area)(int) unit.area; oUnit.param1 = unit.param1; oUnit.param2 = unit.param2; oUnit.param3 = unit.param3; }
public static SkillUnit.SkillShape ConvertSkillShape(SkillShape unit) { SkillUnit.SkillShape oUnit = new SkillUnit.SkillShape(); oUnit.area = (SkillUnit.SkillShape.Area)(int) unit.area; oUnit.param1 = unit.param1; oUnit.param2 = unit.param2; oUnit.param3 = unit.param3; return(oUnit); }