示例#1
0
 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);
 }
示例#2
0
 public SkillTemplateControl(SkillTemplateControl source)
 {
     this.fsmTemplate     = source.fsmTemplate;
     this.fsmVarOverrides = SkillTemplateControl.CopyOverrides(source);
 }