Problem is not reproducible or outdated
error CS1525: Unexpected symbol `0,2', expecting `.' or `['
Hi, I imported an old project and I have alot of errors and this is one of them when I click on it, it takes me to this line :
float newVisibleAreaLength = tk2dUIControlsHelperEditor.DrawLengthHandles("Visible Area Length", scrollableArea.VisibleAreaLength,scrollableArea.contentContainer.transform.position, isYAxis? -up:right, Color.red,isYAxis?.2f:-.2f, 0, .05f);
This question is relative to 2DToolkit, so you should really post it in their forums: http://www.2dtoolkit.com/forum/
In any case, there's nothing wrong with the code you posted. I Use 2DToolkit in one of my projects, and I have the exact same code in a script, and I don't get the error.
$$anonymous$$aybe you should update your 2DToolkit to the latest version, and the error might go away.
Follow this Question
Related Questions
Unity 2018 import OnMouseOver is buggy 0 Answers
does unity changes the scale of a cad model internally 1 Answer
When sprite is imported it changes color!!! 1 Answer
'Reimport' not working 3 Answers
LoadSceneAsync The game freezes. 0 Answers