Could some kind soul post a simple Drawcube script?
Why not just use the menu command, Game Object → Create Other → Cube
Because I’d like to draw cubes dynamically from within a script ala Tetris…
Do you mean draw one cube, then duplicate it and manipulate it as needed?
Why not have a prefab and instantiate it whenever you need a cube?
ok… I’m a total noob scripter and I’m trying to do a Tetris game to learn…
thanks! yes, that’s precisely it…
very cool