A
A
Alexey Fobius2021-09-14 10:37:28
Unity
Alexey Fobius, 2021-09-14 10:37:28

Why is MeshRenderer not disabled?

I have an object prefab, it is on the stage, it also has a script that:

Provided that it is in the camera's field of view - turns on the rendering of the object

Otherwise, it turns it off

The problem is that when I turn away from this object, it is for a second blinks (as if trying to disable rendering but can't) and reappears

. What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question