|
|
|
|
|
|
[HideInInspector] |
|
|
|
public LargeCubeAgent[] largeAgents; |
|
|
|
public float range; |
|
|
|
private CubeWarsTeamManager m_SmallTeamManager; |
|
|
|
private CubeWarsTeamManager m_LargeTeamManager; |
|
|
|
m_SmallTeamManager = new CubeWarsTeamManager(); |
|
|
|
m_LargeTeamManager = new CubeWarsTeamManager(); |
|
|
|
foreach (var agent in smallAgents) |
|
|
|
{ |
|
|
|
agent.SetTeamManager(m_SmallTeamManager); |
|
|
|
} |
|
|
|
foreach (var agent in largeAgents) |
|
|
|
{ |
|
|
|
agent.SetTeamManager(m_LargeTeamManager); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void AgentDied() |
|
|
|