public ActionWithOptions(ActionWithOptions <TOption> other) { scoredOptions = other.scoredOptions; scorers = other.scorers; }
/// <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; }