P
P
ProgramDevel2020-07-09 14:10:35
Unity
ProgramDevel, 2020-07-09 14:10:35

How to determine if there is an object on the scene?

How to determine if there is an object on the scene?
That is, to determine whether he is on stage or not?
Many thanks to whoever helps!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2020-07-09
@ProgramDevel

What is an "object"? And how is your object different from another.
So the wagon options:
- some kind of flag in its eweik / destroy
- some kind of flag in that it instantiates / destroys it (or even better a collection)
- search by script
- search by tag / layer
- search by name (buee)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question