- Home /
Question by
Chocolade · Feb 18, 2017 at 11:32 PM ·
unity 5scripting problemscript.unity 4
How can i convert this javascript line to csharp ?
if (waypoints.Length & lt;= 0){
What is the lt; = 0 in csharp script code ?
Comment
Best Answer
Answer by Bunny83 · Feb 18, 2017 at 11:36 PM
<
is the HTML escape sequence for <
So the original line of code was
if (waypoints.Length <= 0){
And this line is exactly the same in UnityScript as well as C#
ps "lt" stands for "lower than". "gt" for "greater than". &
stands for "ampersand" and is a single &
For a full list, see wikipedia