|
|
|
|
|
|
|
|
|
|
private int m_NumberOfRemainingBlocks; |
|
|
|
|
|
|
|
private PushBlockTeamManager m_TeamManager; |
|
|
|
|
|
|
|
void Start() |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
item.StartingRot = item.T.transform.rotation; |
|
|
|
item.Rb = item.T.GetComponent<Rigidbody>(); |
|
|
|
} |
|
|
|
// Initialize TeamManager
|
|
|
|
m_TeamManager = new PushBlockTeamManager(); |
|
|
|
item.Agent.SetTeamManager(m_TeamManager); |
|
|
|
} |
|
|
|
|
|
|
|
ResetScene(); |
|
|
|