|
|
|
|
|
|
[HideInInspector, SerializeField, FormerlySerializedAs("m_TeamID")] |
|
|
|
public int TeamId; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// The group ID for this behavior.
|
|
|
|
/// </summary>
|
|
|
|
[HideInInspector, SerializeField] |
|
|
|
[Tooltip("Assign the same Group ID to all Agents in the same Area.")] |
|
|
|
public int GroupId; |
|
|
|
// TODO properties here instead of Agent
|
|
|
|
|
|
|
|
[FormerlySerializedAs("m_useChildSensors")] |
|
|
|
|
|
|
/// </summary>
|
|
|
|
public string FullyQualifiedBehaviorName |
|
|
|
{ |
|
|
|
get { return m_BehaviorName + "?team=" + TeamId + "&group=" + GroupId; } |
|
|
|
get { return m_BehaviorName + "?team=" + TeamId; } |
|
|
|
} |
|
|
|
|
|
|
|
internal IPolicy GeneratePolicy(ActionSpec actionSpec, HeuristicPolicy.ActionGenerator heuristic) |
|
|
|