Unity - A计划(一年有效期) 扫二维码继续学习 二维码时效为半小时

(61评价)
价格: 2140.00元

通过名称挂载脚本

[展开全文]
昵称都被取走了 · 2022-04-26 · 0

分离结构ikey

[展开全文]
entropy6 · 2021-04-05 · 0

transform.find 牛逼

[展开全文]
entropy6 · 2021-04-04 · 0

简单 扩展 就完了

[展开全文]
entropy6 · 2021-04-04 · 0

我觉得有必要撸一遍,毕竟粘粘的

pulic class InitCustomAttributes{

  pulic void Init()

  {

assembly assembly=assembly.getassembly(typeof(bindprefab))//获取bindprefab所在程序集

type[] types=assembly.getexportedtypes();//获取所有类型

foreach(type type in types)

{

  foreach(attribute attribute in type.getcustomattributes(type,true))//获取所有特性, true的意思shi

{

 if(attribute is bindprefab){

 bindprefab date=attribute as bindprefab;

 

}

}

}

  }

 

}

[展开全文]
entropy6 · 2021-04-04 · 0

面向接口 面向对象 面向程序,下个面向什么?

[展开全文]
entropy6 · 2021-04-04 · 0

高拓展性

[展开全文]
entropy6 · 2021-04-04 · 0

普通的单例类 限定条件 where T:class,new t()

如果不加上new T 会报错。

能够进行一个构造函数调用的

 

[展开全文]
entropy6 · 2021-04-04 · 0

ugui editor 自动导入工具editor,ugui导入图片选择格式,我竟然不知道很细节啊。这个课程有意思。

[展开全文]
entropy6 · 2021-04-04 · 0