会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
朋丶Peng
天道酬勤
首页
新随笔
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
20
下一页
2018年10月19日
Unity 修改windows窗口的标题
摘要: 修改windows窗口的标题名称,就是修改下图的东西: 第一种: 第二种:
阅读全文
posted @ 2018-10-19 15:14 朋丶Peng
阅读(3635)
评论(0)
推荐(1)
2018年10月15日
Unity GetComponentsInChildren<T>(true);
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class GetComponent : MonoBehaviour { public Transform[] transfor
阅读全文
posted @ 2018-10-15 20:12 朋丶Peng
阅读(2787)
评论(0)
推荐(0)
2018年9月30日
Unity 代码控制游戏对象是父物体的第多少个子对象
摘要: 一个canvas下的游戏对象,排列顺序越往下,渲染顺序就越靠后,就会覆盖在先前的图形上。也就是说,运行游戏后,物体的渲染顺序是一个一个计算的. Transform.SetSiblingIndex(int);//设置同级对象的索引,也就是说这个方法可以设置游戏对象是父物体的第几个儿子 Transfor
阅读全文
posted @ 2018-09-30 17:43 朋丶Peng
阅读(1616)
评论(0)
推荐(0)
UnityError The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(MonoBehaviour) i
摘要: 相同的字段名在类或其父类中被多次序列化。这是不支持的, 这里指的是 变量i . 写如下两个脚本挂到新项目的相机上运行就会出现这个问题:
阅读全文
posted @ 2018-09-30 17:31 朋丶Peng
阅读(2325)
评论(0)
推荐(0)
2018年8月13日
Unity 特性(Attribute)总览
摘要: https://blog.csdn.net/AGroupOfRuffian/article/details/80852228
阅读全文
posted @ 2018-08-13 18:46 朋丶Peng
阅读(405)
评论(0)
推荐(0)
C# String.Trim()
该文被密码保护。
阅读全文
posted @ 2018-08-13 18:38 朋丶Peng
阅读(3)
评论(0)
推荐(0)
Unity OnBecameVisible和OnBecameInvisible的使用
该文被密码保护。
阅读全文
posted @ 2018-08-13 17:54 朋丶Peng
阅读(1)
评论(0)
推荐(0)
2018年8月9日
Unity 判断Animatior是否播放完
摘要: public Animator animator; void Start() { animator = this.GetComponent(); } void Update() { AnimatorStateInfo animatorStateInfo =animator.GetCurrentAnimatorStateIn...
阅读全文
posted @ 2018-08-09 18:57 朋丶Peng
阅读(1048)
评论(0)
推荐(0)
C# 操作字符串
摘要: //(1)字符访问(下标访问s[i]) s ="ABCD"; Console.WriteLine(s[0]); // 输出"A"; Console.WriteLine(s.Length); // 输出4 Console.WriteLine(); //(2)打散为字符数组(ToCharArray) s
阅读全文
posted @ 2018-08-09 18:43 朋丶Peng
阅读(160)
评论(0)
推荐(0)
2018年7月17日
Unity 在Profile面板查看真机性能
该文被密码保护。
阅读全文
posted @ 2018-07-17 20:40 朋丶Peng
阅读(3)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
20
下一页
公告