Quantcast
Channel: Answers by "brunopava"
Viewing all articles
Browse latest Browse all 64

Answer by brunopava

$
0
0
The var keyword is used on Javascript, to declare variables with C# you simply state the type of it. //Your code var cw = (GameObject)Instantiate(envCrossSectionCCW.gameObject); //My code GameObject cw = GameObject.Instantiate(envCrossSectionCCW.gameObject, positionVector, rotationVector) as GameObject;

Viewing all articles
Browse latest Browse all 64

Trending Articles



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