Skip to content

Commit f6f9c82

Browse files
committed
Fixed warning in setup of ARCameraManager component.
1 parent e0c77c5 commit f6f9c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/CustomEditor/AutoPopulateScene.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ internal static void SetupARFoundationComponents()
5454
camera.tag = "MainCamera";
5555

5656
var cameraManager = camera.AddOrGetComponent<ARCameraManager>();
57-
cameraManager.lightEstimationMode = LightEstimationMode.AmbientIntensity;
57+
cameraManager.requestedLightEstimation = LightEstimation.AmbientIntensity;
5858

5959
var light = CustomEditorExtensions.FindOrCreateGameObjectFromAssetMenu(directionalLightName,
6060
directionalLightMenuPath);

0 commit comments

Comments
 (0)