Can you cache Camera.main and/or other gamecomponents in a lambda expression?

  1. Welcome to the Unity forum :slight_smile:

  2. You might want to profile if Camera.main actually is a bottleneck for you. It got way faster (like 20.000 times faster) with Unity 2020: Unity Blog

  3. For future questions, please use code tags when posting code snippets The likelyhood of getting replies also increases by about 20.000% if you use them :wink:

  4. Understanding the concept of “closures” might help you to reason about your question:
    c# - Deep diving into the implementation of closures - Stack Overflow