M
M
maxemga2020-10-28 17:09:48
Unity
maxemga, 2020-10-28 17:09:48

How to bind an object from the price of FieldOfView to a prefab?

I'm trying to make a FieldOfView and everything worked out well for me, everything works, but I need to bind the FieldOfView object to the player so that he follows him, but the question is how to do this, because I have a Prefab, that is, the player is not on the stage at first, but spawns then, and how to make it spawn with this object? For just like that, the object from the scene cannot be transferred to the Prefab.
I tried to put the FieldOfView object on the prefab, but then this object is not transferred from the prefab to another object on the stage
5f997b872a436784769839.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-10-28
@freeExec

Assign from code during prefab or character creation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question