Quantcast
Channel: Answers for "Send value to another script"
Browsing all 4 articles
Browse latest View live

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 Article



Answer by LarryFr

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

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 Article

Answer 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
Browsing all 4 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>