Quantcast
Channel: Answers by "TobiasP"
Viewing all articles
Browse latest Browse all 72

Answer by TobiasP

$
0
0
First, the variable/method must be **public** To get the a variable or call a method from the parent: Script parentScript = this.transform.parent.GetComponent

Viewing all articles
Browse latest Browse all 72

Trending Articles



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