(转)Unity3d游戏开场CG动画播放方式
2024-08-26 15:37:28
1.在一个plane上播放
1 |
using UnityEngine; |
2.GUI.DrawTexture
1 |
using UnityEngine; |
3. Handheld.PlayFullScreenMovie
1 |
using UnityEngine; |
第三种方式,只能在真机上测试,才有效果哦。
一般选用:视频播放时触摸屏幕视频关闭
Handheld.PlayFullScreenMovie(“test.mp4″,Color.black,FullScreenMovieControlMode.CancelOnInput);
最新文章
- Enabling Cross-Origin Requests in ASP.NET Web API 2
- 使用Font Awesome替换你的网站图标
- 【转】PHP简单拦截器的实现
- HTML5 API——无刷新更新地址 history.pushState/replaceState 方法
- 写了个Linux包过滤防火墙
- ajax加php实现三级联动
- Spring-Data-JPA学习
- ExtJS4中initComponent和constructor的区别
- 在keil中使用printf()函数的要点
- HDU-1664-Different Digits(BFS)
- XMPP系列(七)---获取群组列表
- 表单提交前,判断webuploader是否上传
- Ubuntu 16.04下GDB调试
- 【XSY1081】随机存储器 网络流
- C# test
- JavaScript——事件机制
- 后端python基础
- 【c++】函数默认参数
- 关于C#的强制转换和尝试转换的方法
- 彻底解决Webpack打包慢的问题
热门文章
- [React] Return a list of elements from a functional component in React
- mac 上多版本python 共存
- JAVA的IO流:打印流
- poj 2409 Let it Bead Polya计数
- 门窗ERP——让门窗幕墙加工更简单
- 请求大神,C#如何截取字符串中指定字符之间的部分 按指定字符串分割 一分为二 c# 去除字符串中的某个已知字符
- WORD文档书签管理
- Log4Net 最最最基本的应用。作为个人记录
- Python3 range()函数
- linux 实时显示文件的内容