上一页 1 ··· 8 9 10 11 12
摘要: 添加UI及组件: Hierarchy面板下右键UI添加 Canvas(一级层) Panel(二级层) Panel下添加组件Scroll Rect 属性: Content: 选择Text文本 Horizontal: 左右滚动 自由选择 Vertical: 上下滚动 自由选择 Movement Type 阅读全文
posted @ 2020-09-02 20:24 伊凡晴天 阅读(1887) 评论(2) 推荐(1) 编辑
摘要: 1 using System.Collections; 2 using System.Collections.Generic; 3 using System.Diagnostics; 4 using UnityEngine; 5 using UnityEngine.UI; 6 7 8 public 阅读全文
posted @ 2020-09-01 21:45 伊凡晴天 阅读(1272) 评论(0) 推荐(0) 编辑
摘要: 一:准备视频 Uinty3D常用视频格式: mov、.mpg、.mpeg、.mp4、.avi .asf 如果都不识别,试试转换成ogv格式 转换完成之后,将视频素材文件拖入Uinty Assets文件夹内 二:创建UI及添加组件 ①右键Assets文件夹或任意文件夹→Create→Render Te 阅读全文
posted @ 2020-08-31 17:35 伊凡晴天 阅读(1613) 评论(0) 推荐(1) 编辑
摘要: 1 using System; 2 using System.Collections; 3 using System.Collections.Generic; 4 using UnityEngine; 5 using UnityEngine.UI; 6 7 public class ExitGame 阅读全文
posted @ 2020-08-30 14:25 伊凡晴天 阅读(13156) 评论(0) 推荐(1) 编辑
摘要: 1 using UnityEngine; 2 using System.Collections; 3 using UnityEngine.UI; 4 using UnityEngine.SceneManagement; 8 public class LoadingGame : MonoBehavio 阅读全文
posted @ 2020-08-29 23:20 伊凡晴天 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 1 using UnityEngine; 2 using UnityEngine.EventSystems; 3 using UnityEngine.UI; 4 5 public class LoginMoveWithMouse : MonoBehaviour, IDragHandler, IPoi 阅读全文
posted @ 2020-08-29 14:55 伊凡晴天 阅读(1059) 评论(1) 推荐(1) 编辑
摘要: 方法一: 使用3DMAX内置蒙皮系统,将Biped(骨骼)和人物模型绑定在一起 ①创建Biped骨骼系统 ②将人物模型与Biped骨骼重合 可以先选择模型按Alt+x 使之透明化 然后在选择骨骼模式,之后在随意选择,此时只能选择骨骼,这里的操作是为了对其模型方便 ③点击骨骼进入体型模式(运动→体型模 阅读全文
posted @ 2020-08-27 10:31 伊凡晴天 阅读(17512) 评论(0) 推荐(0) 编辑
摘要: 1 public class CameraMove : MonoBehaviour { 2 private Camera c; 3 private float mouseCenter; 4 private int maxView = 120; 5 private int minView = 10; 阅读全文
posted @ 2020-08-25 13:56 伊凡晴天 阅读(4753) 评论(0) 推荐(0) 编辑
摘要: 1 public class CameraMove : MonoBehaviour { 2 private Camera c; 3 private float rotateSpeed = 10; 4 5 private void Start() { 6 c = this.GetComponent<C 阅读全文
posted @ 2020-08-24 16:00 伊凡晴天 阅读(1704) 评论(0) 推荐(1) 编辑
摘要: 1 public class MonsterMove : MonoBehaviour { 2 private float rotateSpeed = 1.0f; 3 public Transform t; 4 private float MoveSpeed = 1.0f; 5 6 7 8 //当进入 阅读全文
posted @ 2020-08-22 17:37 伊凡晴天 阅读(814) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12