file input...

I didn’t see any external file input on the scripting reference. I would like to access data from a .csv. I know javascript can handle some external files.

you can use TextAsset to read text files

TextAsset requires it to be an asset in your project. For arbitrary file IO, use System.File.IO. There’s very little of .NET/Mono in the Unity docs, which cover Unity only, since .NET is already documented.

–Eric

Yes it isn’t giving me crap for using .net file i/o stuff. thanks for the help!

Just be aware that this will only work for desktop versions; web player builds will not be able to read from the user’s hard drive.