So, this is +/- what i’m looking at:
var Word :String ;
var WordinUse = [] ;
var Database = ["eu","joao","lampada"] ;
function Start () {
var RandomNumber ;
RandomNumber = Random.Range(0, 4);
Word = Database[RandomNumber];
Unity gave me a warning on this last line, that says what the tittle says. It doesn’t make much sense to me as i had previously declared Word as a string, but even if i hadn’t everything on Database is a string so why would it downcast to int? btw, i’m new to unity and javascript so im sorry if this is a stupid question.
Thanks in advance!
This question is over 2yrs old... I'm pretty certain particle pausing/resuming has worked fine since all versions of 5.x at least.
– tanoshimi