Using Unity 3D 2.6 with MonoDevelop

07 Mai 2010
Erstellt von xeophin

Since I want to dive into C# and code most of my game in that language, I was searching for a tool to make my life a bit easier – I just love stuff that writes for me ...

Since C# is, once again, a rather Microsoft-centric thingy, there aren't that many editors out there – except for MonoDevelop, which works like a charm on many systems.

Add the factor, that MonoDevelop supports VisualStudio files – and that Unity actually can export those. With a snap you have set up MonoDevelop to work with Unity. Now add some documentation – and presto, nothing keeps me from outputting nice XML files with statistical data about the whereabouts of the player.

Well ... nothing except my apparent inability to wrap my head around the XMLWriter ...

[1]: http://monodevelop.com/[2]: http://answers.unity3d.com/questions/52/instructions-for-setting-up-monodevelop-2-2-to-use-with-unity[3]: http://www.unifycommunity.com/wiki/index.php?title=IDE_DocumentationSince I want to dive into C# and code most of my game in that language, I was searching for a tool to make my life a bit easier – I just love stuff that writes for me ...Since C# is, once again, a rather Microsoft-centric thingy, there aren't that many editors out there – except for [MonoDevelop][1], which works like a charm on many systems.Add the factor, that *MonoDevelop* supports *VisualStudio* files – and that *Unity* actually can export those. With a snap you have set up [*MonoDevelop* to work with *Unity*][2]. Now [add some documentation][3] – and presto, nothing keeps me from outputting nice XML files with statistical data about the whereabouts of the player.Well ... nothing except my apparent inability to wrap my head around the XMLWriter ...

XML writing

Take a look at LINQ-to-SQL or dynamic features of C# to simplify your XML writing.


Thanks for the tip, I will

Thanks for the tip, I will look into it. Right now, I solved it using a combination of StreamWriter and XMLWriter; and referencing a XML fragment from another XML file due to the fact that I have a log-like structure in which data has to be appended on a regular basis.


Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt. Wenn Sie ein zulässiges Avatar mit Ihrer E-Mail-Adresse verknüpft haben, wird dieses als Avatar verwendet.
By submitting this form, you accept the Mollom privacy policy.


Navigation



Sprachen