AutoAssignCameraViewPort()
 {
     foreach (AgentCamera agentCamera in GetComponentsInChildren <AgentCamera>())
     {
         agentCamera.GetComponent <Camera>().rect = globalManager.getAgentViewPortRect(getTeamID(), getAgentID());
     }
 }
Beispiel #2
0
 AutoAssignCameraViewPort()
 {
     GetComponentInChildren <Camera>().rect = globalManager.getAgentViewPortRect(getTeamID(), getAgentID());
 }