I'm applying for a position of Unity3D programmer, and I'm asked to provide a code sample. Preparing a code sample for a "standalone" technology, like python or java or whatever is simple enough, but I don't know how to act when I'm dealing with a game engine. I fear that providing a, for example, controller class without the broader context will not satisfy the recruiters.
I've thought about three options here: either providing just one class with ~100 lines of code, which is what I would do if it was a python job, provide the top level model, view and controller classes, or give a full Unity3D project with scenes, textures, config files etc. I think the middle option is the best to go with, but I'm afraid that it's a bit too much and the recruiter would be happy with just a piece of the code, without the context. What should I send?