// Use this for initialization void Start() { m_agentCamera = GetComponent<AgentCamera>(); m_camera = m_agentCamera.GetCamera(); }