查看: 980|回复: 0
打印 上一主题 下一主题

[插件资源] Config Asset 1.1

[复制链接]

9903

主题

126

听众

7万

积分

首席设计师

Rank: 8Rank: 8

纳金币
53488
精华
316

最佳新人 热心会员 灌水之王 活跃会员 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2015-6-30 12:38:08 |只看该作者 |倒序浏览

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

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-8-17 21:57 , Processed in 0.059654 second(s), 31 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部