08 2020 档案
摘要:一:准备视频 Uinty3D常用视频格式: mov、.mpg、.mpeg、.mp4、.avi .asf 如果都不识别,试试转换成ogv格式 转换完成之后,将视频素材文件拖入Uinty Assets文件夹内 二:创建UI及添加组件 ①右键Assets文件夹或任意文件夹→Create→Render Te
阅读全文
摘要:1 using System; 2 using System.Collections; 3 using System.Collections.Generic; 4 using UnityEngine; 5 using UnityEngine.UI; 6 7 public class ExitGame
阅读全文
摘要:1 using UnityEngine; 2 using System.Collections; 3 using UnityEngine.UI; 4 using UnityEngine.SceneManagement; 8 public class LoadingGame : MonoBehavio
阅读全文
摘要:1 using UnityEngine; 2 using UnityEngine.EventSystems; 3 using UnityEngine.UI; 4 5 public class LoginMoveWithMouse : MonoBehaviour, IDragHandler, IPoi
阅读全文
摘要:方法一: 使用3DMAX内置蒙皮系统,将Biped(骨骼)和人物模型绑定在一起 ①创建Biped骨骼系统 ②将人物模型与Biped骨骼重合 可以先选择模型按Alt+x 使之透明化 然后在选择骨骼模式,之后在随意选择,此时只能选择骨骼,这里的操作是为了对其模型方便 ③点击骨骼进入体型模式(运动→体型模
阅读全文
摘要:1 public class CameraMove : MonoBehaviour { 2 private Camera c; 3 private float mouseCenter; 4 private int maxView = 120; 5 private int minView = 10;
阅读全文
摘要:1 public class CameraMove : MonoBehaviour { 2 private Camera c; 3 private float rotateSpeed = 10; 4 5 private void Start() { 6 c = this.GetComponent<C
阅读全文
摘要: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 //当进入
阅读全文