Anyone get this working?
GUI.PasswordField
I get errors stating that it cannot recognize the Mask Character as string…
Anyone get this working?
GUI.PasswordField
I get errors stating that it cannot recognize the Mask Character as string…
characters are declared with ‘x’ instead of “x”
on js you can’t do that, there you need to use “x”[0] basically
when I use “x” it returns a formatting error, and ‘x’ is an unknown character in JS.
so what exactly is “x”[0] mean??
when I use “x” it returns a formatting error, and ‘x’ is an unknown character in JS.
so what exactly is “x”[0] mean??
As mentioned, ‘x’ isn’t supported (js does not have the type char) to specify character in JS thats why you get the error.
“x”[0] gives you the same that ‘x’ would give you. Basically what it does is take the character array “x” (strings are nothing but arrays of characters) and return the first character in it, which is as it is the character equal to ‘x’
thanks dreamora! you always have the answers!!
Indeed.
I guess that also explains why string.Split() requires [0].