Update render settings, add lighting settings and update some scripts

This commit is contained in:
Michal Pikulski
2025-10-28 10:08:49 +01:00
parent 2aad46be98
commit 548c5118ae
6 changed files with 80 additions and 9 deletions

View File

@@ -202,7 +202,7 @@ namespace AppleHillsCamera
private void FindCameraAdapter()
{
// Try to find the camera adapter in the scene
var adapters = FindObjectsOfType<CameraScreenAdapter>();
var adapters = FindObjectsByType<CameraScreenAdapter>(FindObjectsSortMode.None);
if (adapters != null && adapters.Length > 0)
{
// Prioritize any adapter that's on the same camera we're using