- Home /
Question by
thisistomarse · Oct 16, 2014 at 03:45 PM ·
errorcs1526
Error Code CS1526 problem
hi I'm getting this error code and no matter how much I change my code the error still persists..
the error code in full is:
Assets/Scripts/GameManager.cs(41,68): error CS1526: A new expression requires () or [] after type
this is my code at line 40 to 44
brick.transform.position = new Vector3 (13.5f-column*(brick.renderer.bounds.size.x+0.1f),
12 – ((brick.renderer.bounds.size.y+0.1f) * rows),
0);
brick.transform.rotation = Quaternion.identity;
whats wrong?
Comment
I formatted your question for you, you may want to learn how to do that by watching the tutorial video.
Your answer
