Quantcast
Channel: Answers for "Accessing another script from a class"
Viewing all articles
Browse latest Browse all 6

Answer by Winston

$
0
0

I have found the answer. The reference link I needed to use was:

var Script1script = gameObject.GetComponent("script1");

Script1script.SetX(1);

Thanks for the help.


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images