Search Unity

Question knowing whether an object is in the camera frame of view

Discussion in 'Scripting' started by barbrian1, Feb 9, 2024.

  1. barbrian1

    barbrian1

    Joined:
    Jan 24, 2024
    Posts:
    19
    hi

    is there a way to know whether a game object is within the camera frame of view?

    thanks
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,425
    Bunny83 likes this.
  3. barbrian1

    barbrian1

    Joined:
    Jan 24, 2024
    Posts:
    19
    in a moment of weakness i forgot that the first resort is the old conventional search. also not sure whether i felt confident that i knew what to search
    luckily i ran into you
    thanks