- 博客(18)
- 资源 (20)
- 收藏
- 关注
转载 ugui获取text宽
http://www.xuanyusong.com/archives/3587void Start () { Font font = Resources.Load("FZCQJW"); int fontsize=35; string text = "宣雨松MOMO"; font.RequestCharactersInTexture(text,fontsize
2017-03-28 13:27:25 1259
原创 ugui获取text宽
ugui获取text宽 http://www.xuanyusong.com/archives/3587void Start () { Font font = Resources.Load<Font>("FZCQJW"); int fontsize=35; string tex...
2017-03-28 13:27:00 149
原创 uGUI知识点剖析之RectTransform
uGUI知识点剖析之RectTransform http://www.2fz1.com/post/unity-ugui-recttransform/#jtss-tsina补充:常用RectTransform相关属性代码设置1 topGetComponent<RectTransform>...
2017-03-26 16:00:00 183
转载 uGUI知识点剖析之RectTransform
http://www.2fz1.com/post/unity-ugui-recttransform/#jtss-tsina一、基本要点RectTransform继承于Transform,在 Transform 基础上,RectTransform 增加了 轴心(pivot)、锚点(anchors)、和 尺寸变化量(sizeDelta)。其中anchors和pivot都是坐
2017-03-26 15:59:57 1181
原创 C#中的结构体要使用new来实例化吗?
C#中的结构体要使用new来实例化吗? 声明结构的默认(无参数)构造函数是错误的。总是提供默认构造函数以将结构成员初始化为它们的默认值。在结构中初始化实例字段也是错误的。 如果使用 new 运算符创建结构对象,则会创建该结构对象,并调用适当的构造函数。与类不同,结构的实例化可以不使用 new 运算符。如果不使用 ...
2017-03-17 18:04:00 1166
转载 C#中的结构体要使用new来实例化吗?
声明结构的默认(无参数)构造函数是错误的。总是提供默认构造函数以将结构成员初始化为它们的默认值。在结构中初始化实例字段也是错误的。 如果使用 new 运算符创建结构对象,则会创建该结构对象,并调用适当的构造函数。与类不同,结构的实例化可以不使用 new 运算符。如果不使用 new,则在初始化所有字段之前,字段都保持未赋值状态且对象不可用。 结构类型使用new不会分配托管堆分配内存而是调用构造函
2017-03-17 18:03:31 6726
原创 LOL数值分析
LOL数值分析 http://blog.sina.com.cn/s/blog_704133cb01018hud.html为了从理论层面提高自己打《英雄联盟》的水平,再加上自己也有这方面的兴趣,所以我最近研究了一下英雄联盟中的一些数值计算公式,不算很系统,主要是自己的一些试验跟网上查的资料总结,仅仅面向菜鸟,...
2017-03-15 17:41:00 320
转载 LOL数值分析
http://blog.sina.com.cn/s/blog_704133cb01018hud.html为了从理论层面提高自己打《英雄联盟》的水平,再加上自己也有这方面的兴趣,所以我最近研究了一下英雄联盟中的一些数值计算公式,不算很系统,主要是自己的一些试验跟网上查的资料总结,仅仅面向菜鸟,大神勿喷。首先介绍一下大家都很喜欢的一件装备:耀光。耀光的被动相当犀利,每次释放技能后下一次攻击基础
2017-03-15 17:40:52 1390
转载 【《Effective C#》提炼总结】提高Unity中C#代码质量的21条准则
http://wetest.qq.com/lab/view/290.html?from=adsout_qqtips_past2_290&sessionUserType=BFT.PARAMS.212712.TASKID&ADUIN=1397601311&ADSESSION=1488939605&ADTAG=CLIENT.QQ.5497_.0&ADPUBNO=26661WeTest 导读
2017-03-08 14:01:15 381
原创 【《Effective C#》提炼总结】提高Unity中C#代码质量的21条准则
【《Effective C#》提炼总结】提高Unity中C#代码质量的21条准则 http://wetest.qq.com/lab/view/290.html?from=adsout_qqtips_past2_290&sessionUserType=BFT.PARAMS.212712.TASKID&...
2017-03-08 14:01:00 94
原创 AnimationCurve
AnimationCurve http://blog.sina.com.cn/s/blog_471132920101f8nv.html说明:关于animationCurve的使用总结1 创建,可以新建脚本,创建animationCurve变量,然后直接在脚本上手动拖动可视化创建曲线,也可以用代码创建(这种比...
2017-03-03 17:12:00 186
转载 AnimationCurve
http://blog.sina.com.cn/s/blog_471132920101f8nv.html原创文章如需转载请注明:转载自风宇冲Unity3D教程学院 AnimationCurve第一部分:介绍第二部分:基本使用第三部分:脚本创建AnimationCurve第四部分:编辑器里
2017-03-03 17:11:49 758
原创 Unity3D 自动添加Fbx Animation Event
Unity3D 自动添加Fbx Animation Event http://blog.csdn.net/aa20274270/article/details/52528449using UnityEngine;using System.Collections;using UnityEditor;usin...
2017-03-03 15:04:00 283
转载 Unity3D 自动添加Fbx Animation Event
http://blog.csdn.net/aa20274270/article/details/52528449using UnityEngine;using System.Collections;using UnityEditor;using System.Collections.Generic;public class Test { [MenuItem("Assets/生
2017-03-03 15:03:34 1498
转载 unity 代码添加AnimationEvent
using UnityEngine;class TAnimEvent:MonoBehaviour{ [SerializeField] private Animator mAnimator; public bool abc; void Start() { mAnimator = this.GetComponent(); RuntimeAnimatorController
2017-03-02 17:47:03 4086
原创 unity 代码添加AnimationEvent
unity 代码添加AnimationEvent 经过测试只要Animator跟继承monoBehaviour的类A在同一个节点上,就可以注册类A中的public 方法,含0或1个参数(int,float,object,string),注意:只能是0或1个参数using UnityEngine;clas...
2017-03-02 17:47:00 221
原创 untiy AnimationEvent添加返回参数
using UnityEngine;using System.Collections; public class Try : MonoBehaviour { public class Action : ScriptableObject { public Transform Att; pu...
2017-03-02 17:20:00 277
转载 untiy AnimationEvent添加返回参数
using UnityEngine;using System.Collections; public class Try : MonoBehaviour { public class Action : ScriptableObject { public Transform Att; public Transform Def;
2017-03-02 17:19:56 898
All Star Character Collection.txt
2020-04-04
Panoramic Framework v1.3_c4
2016-07-22
UniWebView2.1
2016-07-14
c#反编译工具de4dot,Reflector及教程
2014-12-02
opengl库文件
2014-09-14
NEHE_OPENGL
2014-09-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人