Quantcast
Channel: Questions in topic: "gameobject.tag"
Viewing all articles
Browse latest Browse all 95

Help with string to gameObject.name

$
0
0
I try this: void OnCollisionEnter(Collision col) void OnCollisionEnter(Collision col) { situationjump = (""+gameObject.name ""+col.gameObject.name); } But I get an error Error 3 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement

Viewing all articles
Browse latest Browse all 95

Trending Articles



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