Quantcast
Channel: Answers for "Converting JS to C#"
Browsing latest articles
Browse All 6 View Live

Answer by Piflik

C# needs variable types. Also some little differences in syntax and needs enclosing stuff: using UnityEngine; using System.Collections; public class Status : MonoBehaviour { //scriptname needs to match...

View Article


Answer by clunk47

You would need to define a class in the script, and the script name needs to be the same as your class. Let's say for example's sake, we'll have a C# script named EXAMPLE. You'll notice where I put...

View Article


Answer by doublethink

Try using this handy Javascript to C# converter [http://files.m2h.nl/js_to_c.php][1] [1]: http://files.m2h.nl/js_to_c.php

View Article
Browsing latest articles
Browse All 6 View Live