09 2015 档案

摘要:1 using UnityEngine; 2 using System.Collections; 3 4 public class TestLage : MonoBehaviour { 5 public MovieManage Movie;//定义一个播放器组件 6 public... 阅读全文
posted @ 2015-09-19 20:16 liufeiyue 阅读(732) 评论(0) 推荐(0)
摘要:http://www.verydemo.com/demo_c161_i105215.html?qqdrsign=03f8cusingUnityEngine;usingSystem.Collections;publicclassSoundSwitch:MonoBehaviour{publicAudio... 阅读全文
posted @ 2015-09-17 14:35 liufeiyue 阅读(1327) 评论(0) 推荐(0)
摘要:Resources.Load 加载static functionLoad(path: string) :ObjectDescription描述Loads an asset stored at path in the Resources folder.加载储存在Resources文件夹中path处的资... 阅读全文
posted @ 2015-09-17 12:47 liufeiyue 阅读(150) 评论(0) 推荐(0)
摘要:UI Root红色窗口的大小其实就是Game的窗口大小,它随着Game窗口的大小变化而变化。 阅读全文
posted @ 2015-09-16 20:47 liufeiyue 阅读(162) 评论(0) 推荐(0)
摘要:同一个atlas里通过spriteName设置图片UISprite sprite = gameObject.GetComponent();sprite.spriteName = "XXX"; 阅读全文
posted @ 2015-09-16 19:25 liufeiyue 阅读(585) 评论(0) 推荐(0)
摘要:转自:http://www.cnblogs.com/vitah/p/3897664.html(以后,参考链接和作者将在文章首部给出,转载请保留此部分内容) 参考链接:http://www.narkii.com/club/thread-299977-1.html,作者:纳金网 比巴卜; 参考链接:... 阅读全文
posted @ 2015-09-16 19:18 liufeiyue 阅读(415) 评论(0) 推荐(0)
摘要:1.建立一个sprite,自动包含了UISprite(script)组件,然后添加一个UIButton(Script)组件。建立test脚步,主要代码如下,绑定在AudioManager2。 public UISprite u;3.u = this.transform.FindChild("mute... 阅读全文
posted @ 2015-09-16 18:30 liufeiyue 阅读(210) 评论(0) 推荐(0)
摘要:1.UISprite(Scripte)中的Sprite属于private不能直接替换2.可以利用UIButton(Script)的Sprites属性进行切换 public UISprite u;(将相应的button对象拖到u变量中)u.GetComponent().normalSprite = "... 阅读全文
posted @ 2015-09-16 10:14 liufeiyue 阅读(370) 评论(0) 推荐(0)
摘要:两篇写的很好的博客http://www.cnblogs.com/xilentz/archive/2010/05/06/1728945.htmlhttp://www.cnblogs.com/ttzhang/archive/2008/11/03/1325102.htmlTotoiseSVN的基本使用方法... 阅读全文
posted @ 2015-09-15 20:30 liufeiyue 阅读(141) 评论(0) 推荐(0)
摘要:本文章转载于:http://www.cnblogs.com/armyfai/p/3985660.html我纯属于为了记录一下。SVN简介:为什么要使用SVN?程序员在编写程序的过程中,每个程序员都会生成很多不同的版本,这就需要程序员有效的管理代码,在需要的时候可以迅速,准确取出相应的版本。Subve... 阅读全文
posted @ 2015-09-15 20:27 liufeiyue 阅读(135) 评论(0) 推荐(0)
摘要:转载自风宇冲Unity3D教程学院http://blog.sina.com.cn/s/blog_471132920101crh3.html引言:想用Unity3D制作优秀的游戏,插件是必不可少的。工欲善其事必先利其器。本文主旨是告诉使用Unity3D引擎的同学们如何根据需求选择适当的工具。为此我写了... 阅读全文
posted @ 2015-09-12 10:56 liufeiyue 阅读(789) 评论(0) 推荐(0)
摘要:使用movietexture,但是里面只有play,stop,pause3个方法Unity3D 原生就支持视频播放的,不是UITexture而是用MovieTexture。MovieTexture.Playe(); 播放MovieTexture.Pause();暂停MovieTexture.Stop... 阅读全文
posted @ 2015-09-12 10:14 liufeiyue 阅读(898) 评论(0) 推荐(0)