示例#1
0
 public ActionWithOptions(ActionWithOptions <TOption> other)
 {
     scoredOptions = other.scoredOptions;
     scorers       = other.scorers;
 }
示例#2
0
 /// <summary>
 /// "Clones or transfers settings from the other entity to itself"
 /// Used if you want to switch this ActionWithOptions to another.
 /// From video demo.
 /// </summary>
 /// <param name="other">Other.</param>
 public void CloneFrom(ActionWithOptions <TOption> other)
 {
     //utilityAIComponent = other.utilityAIComponent;
     scorers       = other.scorers;
     scoredOptions = other.scoredOptions;
 }