N
N
NickName73312018-06-06 21:01:15
C++ / C#
NickName7331, 2018-06-06 21:01:15

Unity (C#) - How to check if an object is in camera view?

How to check if an object is in the camera's field of view? The game is 2D, what are the ways to check this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Gaydak, 2018-06-07
@NickName7331

so there is also a built-in
https://docs.unity3d.com/ScriptReference/MonoBehav...
there is really an important point about "ANY camera", but usually this does not interfere)

F
freeExec, 2018-06-06
@freeExec

https://docs.unity3d.com/ScriptReference/GeometryU...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question