- Home /
Question by
Nokimemota · May 20, 2017 at 08:50 AM ·
errorwebglconversion
Conversion of object.text to webGL
So i want to make a sudoku game and i created an array containing the text component of the buttons called buttonList. thanks to that i can easily change the text of buttons using "buttonList[i].text = clue.ToString();" and make the same button unclickable using "buttonList[w].GetComponentInParent().interactable = false;".
And when i try to use it in editor or as an exe file it works great - but i want this to be a webGL game to put into my webpage as part of a project, and when i try to build it as such it throws an abort error at me - what am i doing wrong?
Why webGL (or i presume javascript) hates writing a string into a Text array element? Should i do it some another way?
Comment