private static SkillVarOverride[] CopyOverrides(SkillTemplateControl source) { SkillVarOverride[] array = new SkillVarOverride[source.fsmVarOverrides.Length]; for (int i = 0; i < source.fsmVarOverrides.Length; i++) { array[i] = new SkillVarOverride(source.fsmVarOverrides[i]); } return(array); }
public SkillTemplateControl(SkillTemplateControl source) { this.fsmTemplate = source.fsmTemplate; this.fsmVarOverrides = SkillTemplateControl.CopyOverrides(source); }