x


Can Unity use .ini files?

I am now taking a class on game engine coding and I saw that c++ could use "fstream" to read and write to .ini files. I like the format much better for manually reading/writing files as opposed to an XML. Is it possible for Unity to read and write to an .ini? I searched answers for .ini and only yielded two irrelevant results.

more ▼

asked Jan 07 '11 at 02:19 PM

SirGive gravatar image

SirGive
1.2k 25 32 50

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

absolutely.

Here is a great script that I adapted for my save games, that uses fstream to write to .ini files:

http://www.unifycommunity.com/wiki/index.php?title=SimpleDictionary

more ▼

answered Jan 07 '11 at 02:23 PM

PrimeDerektive gravatar image

PrimeDerektive
3.1k 57 64 84

What do you mean?

Jan 07 '11 at 07:09 PM PrimeDerektive

Thanks so much :D

Jan 13 '11 at 11:37 AM SirGive
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x438
x78
x52
x4

asked: Jan 07 '11 at 02:19 PM

Seen: 2315 times

Last Updated: Mar 07 '12 at 06:30 PM