Added the Eagle Eye button, It's a standalone prefab that can be added to other canvases.

This commit is contained in:
2025-11-06 17:11:30 +01:00
parent 9a4f604314
commit 5e4de3ebef
6 changed files with 269 additions and 0 deletions

View File

@@ -49,6 +49,10 @@ public class cameraSwitcherNailBird : MonoBehaviour
{
elapsed += Time.deltaTime;
cam.Lens.OrthographicSize = Mathf.Lerp(startSize, targetSize, elapsed / duration);
if (confiner2D != null)
{
confiner2D.InvalidateBoundingShapeCache();
}
yield return null;
}
cam.Lens.OrthographicSize = targetSize;