public void SetToPlayerData(HackGameAgent_Player player) { SetToOtherAgentData((HackGameAgent)(player)); //now set special zoom if (player.GetCurrentState() == HackGameAgent_State.HackGameAgent_State_SpawningIn) { specialZoom = player.getSpawnInZoom(); } else if (player.GetCurrentState() == HackGameAgent_State.HackGameAgent_State_ExitingOut) { specialZoom = player.getExitOutZoom(); } else { specialZoom = 1.0f; } }