Monday 28 November 2011

INISystem Update: Version 1.1


I have posted an update to INISystem, to the Unity Asset Store, it is currently awaiting approval. This version brings some parsers for both reading and writing some of Unity's data-types and some basic data-types.

There is a new static class that helps with Unity data-types and the basic data-types are included in the base class.

Unity Data-Types:

  • Vector2
  • Vector3
  • Color
  • Quaternion
Basic Data-Types:
  • Float
  • Integer
  • Bool
  • String (which was already included)
Also Get has been depreciated in favour of GetString, this just brings the system together because there are now various parser methods available. So in order to get any of the previous mentioned types it would be as simple as GetFloat, GetInt, GetBool.

However with the new Unity specific data-types you have to access it through INIHelper.GetVector2/Vector3/Color/Quaternion. With these methods, you will have to pass a reference to an INISystem class that you have created in order to be able to read /edit values.

This version also completely removed the Add methods in favour of using Change which is more robust and developed than Add was.

Regards,
Garth (Lead)

No comments:

Post a Comment