private void LateUpdate() { if (!lightEntireMap && currentGameState == gameState.playing) { m_World.GetComponent <FieldOfViewGenerator>().GenerateFOV(); } }