↧
Answer by robertbu
We see the scripts, but not the object hierarchy. - A component is a script on a specific game object, so unless all these components are on the same game object, you have to identify the game object....
View ArticleAnswer by Asthegor
I had the same issue. In my C# script, I made this : void Start () { GameObject targetMoverObject = GameObject.FindGameObjectWithTag ("Target"); if (targetMoverObject != null) { targetMover =...
View Article