zoukankan      html  css  js  c++  java
  • Unity的外部配置文件使用方法

    前一阵用这个,在Google里一搜,很多人都说文档里没有这个方法,不幸被我找到了,以免大家继续重复发明轮子>_<

    Using Alternative Configuration Sources

    You can also use any XML configuration file or other source of configuration information if required. For example, you can load configuration information into containers from a specific named configuration file by using the .NET Framework System.Configuration.Configuration class to retrieve the information from any XML formatted file. The following code shows how you can read configuration information from a file named MyConfig.config.

    C#
    VB
  • 相关阅读:
    洛谷 P3146 [USACO16OPEN]248
    洛谷 P2633 Count on a tree
    bzoj 1040 1040: [ZJOI2008]骑士
    poj 3417 Network
    洛谷 P2149 [SDOI2009]Elaxia的路线
    2、小文件问题解决
    ☀【组件
    -_-#【JS】隐含全局变量
    -_-#flash播放器自适应
    -_-#【插件】MD5
  • 原文地址:https://www.cnblogs.com/HCOONa/p/1413718.html
Copyright © 2011-2022 走看看