S
S
SDHOPS2018-05-08 18:08:43
C++ / C#
SDHOPS, 2018-05-08 18:08:43

In this code, how can I make this function apply to the object with the "Player" Tag?

An object with the "Player" Tag is loaded from another scene via DontDestroyOnLoad.
5af1bd6d6bcce647183176.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Basmanov, 2018-05-08
@SDHOPS

Objects can be searched by tag using GameObject.FindWithTag .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question