会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
新哲
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
2018年11月22日
unity材质球贴图滚动
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class NewBehaviourScript : MonoBehaviour { //滚动速度 public float H
阅读全文
posted @ 2018-11-22 10:24 新哲
阅读(1841)
评论(0)
推荐(0)
2018年11月11日
Unity射线
摘要: //射线原点 [SerializField] Transform tr; //射线长度 [SerializField] float dis = 5; //射线停留时间 [SerializField] float t=0.1f // Use this for initialization void S
阅读全文
posted @ 2018-11-11 00:04 新哲
阅读(257)
评论(0)
推荐(0)
2018年11月9日
unity对象物体闪烁
摘要: Material mat; // float a=0; //控制闪烁速度 float speed=0.6f; float b=1; Update(){ if(a>0.3f){ b=1; } if(a<=0f){ b=-1; } a += Time.deltaTime * b *speed; mat.
阅读全文
posted @ 2018-11-09 20:00 新哲
阅读(1976)
评论(0)
推荐(0)
unity中Animation与Animator的区别
摘要: Animation:单一动画,一般使用在单一动画播放。占用资源小。 Animator:多个动画,可用控制器切换多个动画播放。占用资源大。
阅读全文
posted @ 2018-11-09 19:44 新哲
阅读(2496)
评论(0)
推荐(0)
Unity使Text 文字逐个出现
摘要: Text tex; string s="Unity使Text 文字逐个出现"; //字符出现间隔 waitTime = 0.3f; // float speed=0; //方法一 //在协同中实现 IEnumertor IEnName(){ foreach(char c in s){ tex.tex
阅读全文
posted @ 2018-11-09 19:36 新哲
阅读(4302)
评论(0)
推荐(0)
Unity创建或克隆对象 Instantiate()
摘要: //需要创建对象 GameObject prefab; //创建对象的规定位置或父物体 Transform tr; //创建出对象 Instantiate(prefab); //创建对象,并设定位置和角度 Instantiate(prefab,tr.position,tr.rotation); //
阅读全文
posted @ 2018-11-09 19:17 新哲
阅读(9509)
评论(0)
推荐(0)
2018年7月7日
unity配置Android SDK,并构建导出apk格式
摘要: https://images2018.cnblogs.com/blog/1287763/201807/1287763-20180707184445513-576448143.png
阅读全文
posted @ 2018-07-07 19:04 新哲
阅读(4046)
评论(0)
推荐(0)
2018年7月5日
eclipse安装Android插件
摘要: 1.首先下载Eclipse for android,点击进入。下载这个版本可以省去ADT配置() 2.下载符合你电脑的版本 2.现在Android SDK,地址:http://tools.android-studio.org/index.php/sdk 3.启动Eclipse,选择windows>p
阅读全文
posted @ 2018-07-05 01:12 新哲
阅读(4522)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
公告