|
|
|
|
|
|
[HideInInspector] |
|
|
|
[SerializeField] |
|
|
|
string m_BehaviorName = "My Behavior"; |
|
|
|
[HideInInspector] [SerializeField] |
|
|
|
int m_TeamID = 0; |
|
|
|
//[HideInInspector] [SerializeField]
|
|
|
|
//string m_BehaviorIdentifier;
|
|
|
|
|
|
|
|
|
|
|
|
private string concatBehaviorIdentifiers() |
|
|
|
{ |
|
|
|
return m_BehaviorName + "?team=" + m_TeamID; |
|
|
|
} |
|
|
|
|
|
|
|
public BrainParameters brainParameters |
|
|
|
{ |
|
|
|
|
|
|
public string behaviorName |
|
|
|
{ |
|
|
|
get { return m_BehaviorName; } |
|
|
|
|
|
|
|
get { return concatBehaviorIdentifiers();} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public IPolicy GeneratePolicy(Func<float[]> heuristic) |
|
|
|