Quantcast
Channel: Questions in topic: "issue"
Viewing all articles
Browse latest Browse all 827

SyntaxError: missing ) after formal parameters

$
0
0
Hi there! I faced with such problem: i've added function to my simple browser game for collect items and eart scores, from very simple example here on Unity Docs: function OnCollisionEnter(collision : Collision) { alert('test'); } and I can't get even see my "test" alert. Instead of this i get error: "Syntax Error: missing ) after formal parameters" with point at " : " after " collision ". May you advice me smth helpful? Also I tryed OnTriggerEnter, but result was the same.

Viewing all articles
Browse latest Browse all 827

Trending Articles



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