错误CS1525:意外的符号“0,2'”,期待`。'或者`['

时间:2017-10-22 09:58:15

标签: unity3d unity5

您好我将一个旧项目导入Unity 5.6.of3并且我收到了此错误 错误CS1525:意外的符号0,2', expecting。'或者`[' 当我点击它时,我就走到了这一行:

 float newVisibleAreaLength = tk2dUIControlsHelperEditor.DrawLengthHandles("Visible Area Length", scrollableArea.VisibleAreaLength,scrollableArea.contentContainer.transform.position, isYAxis? -up:right, Color.red,isYAxis?.2f:-.2f, 0, .05f);

1 个答案:

答案 0 :(得分:0)

通过更新2d Toolkit解决了问题