纳金网

标题: Config Asset 1.1 [打印本页]

作者: 烟雨    时间: 2015-6-30 12:38
标题: Config Asset 1.1

Snap7.png

Requires Unity 4.2.2 or higher - 需要Unity 4.2.2以上的版本

Our asset helps to separate input data from logic and keep it resistant to code changes. If you need to configure your application from structured data or create objects dynamically based on pre-defined values, this would be of great interest to you.

In brief: It allows you to store values in a JSON file and load them in Unity as a part of regular objects. The loading is done at design time, so there's no performance overhead. The data is kept as an asset; it is not a part of a scene, thus any scene can access it. More importantly, values don't get lost after changing underlying code, as it happens with Unity's standard serialisation system. Once you put them in a file, they will stay there until you edit them yourself. Many designers will appreciate this. We know we do.

ConfigAsset can be used with C#, UnityScript (Unity JavaScript), and Boo, but only C# example is provided.

Config Asset v1.1.rar

590.34 KB, 阅读权限: 10, 下载次数: 18






欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5