unity3d中Link文件的含义

  1. Okay, a little help for those searching for some instructions on how this works. This is based on trial and error.

    "type" can be either a class name (with full namespace) or just a namespace and every class within that namespace will be excluded.
    Child namespaces will not be excluded just by adding the parent namespace. In order to exclude namespaces recursively, use *


  2. <linker >
  3.     <assembly fullname = "MyAssemblyName" >  // the name of the assembly
  4.         < type fullname = "MyNamespace" preserve = "all" />  // excludes all classes that are direct children of MyNamespace
  5.         < type fullname = "MyNamespace.*" preserve = "all" />  // excludes all namespaces and classes recursively under MyNamespace
  6.         < type fullname = "MyNamespace*" preserve = "all" />  // excludes all namespaces and classes recursively under MyNamespace. Would also exclude the namespace MyNamespaceABC
  7.         < type fullname = "My*" preserve = "all" />  // excludes all namespaces and classes that start with My and all children of those namespaces
  8.         < type fullname = "*" preserve = "all" />  // excludes all namespaces and classes in the assembly
  9.     </assembly >
  10. </linker >

原文链接:http://forum.unity3d.com/threads/i-have-a-problem-with-link-xml.181099/
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值