手动为角色绑定IK动画

作者:追风剑情 发布于:2019-5-6 20:43 分类:Unity3d

[官方文档] 反向动力学 可在 Mecanim 中用于已正确配置的任何人形Avatar骨骼。 一、导入角色模型,并进行设置 二、创建两个空对象IK_LeftHand、IK_RightHand用来对左右手部进行定位。 三、创建AnimatorController并创建一个空动画 启用IK Pa...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2766)

摄像机震动效果

作者:追风剑情 发布于:2019-5-5 20:12 分类:Unity3d

示例 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraShake : MonoBehaviour { private Transform ThisTransform = null; public float...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2884)

Photon游戏通用服务器

作者:追风剑情 发布于:2019-4-25 16:42 分类:Unity3d

Photon SDK https://www.photonengine.com/zh-CN/PUN Photon Server https://vibrantlink.com/ 光子资源下载 https://vibrantlink.com/resource-links/ 如何在PUN中设置中国区域 光子云与光子服务器差异 三类服务器 Mast...

阅读全文>>

标签: Unity3d

评论(0) 浏览(6537)

Timeline

作者:追风剑情 发布于:2019-4-24 11:28 分类:Unity3d

官方文档 Timeline SignalTrack SignalAsset SignalEmitter SignalReceiver PlayableDirector 安装 Timeline [Window]->Package Manager 在 Unity Registry 中找到 Timeline 并安装。 Timeline窗口 ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2498)

Gizmos

作者:追风剑情 发布于:2019-4-22 21:57 分类:Unity3d

示例一 using System.Collections; using System.Collections.Generic; using UnityEngine; public class DrawGizmos : MonoBehaviour { public GizmoType gizmoType; public Color32 color ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(4064)

Alpha渐变

作者:追风剑情 发布于:2019-4-19 23:22 分类:Shader

示例 Shader "Custom/Gradient" { Properties { _MainTex ("Texture", 2D) = "white" {} _Color("Color", Color) = (1,1,1,1) _Diameter ("Diameter", Range(0.0, 10.0)) ...

阅读全文>>

标签: Shader

评论(0) 浏览(3277)

UGUI——Canvas

作者:追风剑情 发布于:2019-4-16 16:35 分类:Unity3d

https://docs.unity3d.com/Manual/class-Canvas.html 渲染模式(Render Mode) Screen Space - Overlay UI始终显示在3D对象前面。 Screen Space - Camera 任何比UI更靠近场景摄像机的对象将显示在UI前面,不存在3D对象与UI之间穿钗显示。 ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(3259)

Vuforia Plugin 8.x.x概述

作者:追风剑情 发布于:2019-4-9 16:24 分类:Unity3d

高通开发的VR/AR https://developer.vuforia.com/ Getting Started with Vuforia Engine in Unity License Manager [官方文档] Unity XR SDK下载 https://developer.vuforia.com/downloads/sdk https://docs.unit...

阅读全文>>

标签: Unity3d

评论(0) 浏览(4204)

Graphic Raycaster

作者:追风剑情 发布于:2019-4-9 15:15 分类:Unity3d

Graphic Raycaster 用于检测投向Canvas的射线。 Ignore Reversed Graphic: true当UI背面朝向摄像机时,将忽略射线检测(即,不会触发事件)。 Blocking Objects: 设置哪类物体会遮挡射线(2D、3D、所有)。 Blocking Mask: 设置处于哪些层的Blocking Objects会遮挡射线。

阅读全文>>

标签: Unity3d

评论(0) 浏览(3848)

显示FPS

作者:追风剑情 发布于:2019-4-3 17:41 分类:Unity3d

示例 using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; [RequireComponent(typeof(Text))] public class FPS : MonoBehaviour { private Text textField; private fl...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2525)

ICanvasRaycastFilter

作者:追风剑情 发布于:2019-4-3 13:21 分类:Unity3d

用于UGUI Canvas做射线过滤检测 示例 using System.Collections; using System.Collections.Generic; using UnityEngine; public class RaycastValidity: MonoBehaviour, ICanvasRaycastFilter { pu...

阅读全文>>

标签: Unity3d

评论(0) 浏览(4067)

WaveVR Plugin 3.x.x概述

作者:追风剑情 发布于:2019-3-26 16:58 分类:Unity3d

HTC Vive Focus(HTC的VR一体机) VIVE Wave SDK下载 https://developer.vive.com/resources/vive-wave/download/latest/ Wave Unity SDK文档 https://hub.vive.com/zh-CN/profile/documents ...

阅读全文>>

标签: WaveVR

评论(0) 浏览(4386)

SteamVR Plugin 2.x.x概述

作者:追风剑情 发布于:2019-3-25 19:53 分类:Unity3d

安装Steam https://store.steampowered.com/about/ 登录Steam SteamVR的配置文件: {SteamVR安装目录}\steamapps\common\SteamVR\resources\settings\default.vrsettings 在配置文件中将头显设备设置成可选项: 可在不接入头显...

阅读全文>>

标签: SteamVR Plugin

评论(0) 浏览(7001)

UnityEditorInternal.ReorderableList

作者:追风剑情 发布于:2019-3-25 18:45 分类:Unity3d

可手动拖动更改列表排序 示例 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEditorInternal; public class TestEditorWindow : EditorWindow { pri...

阅读全文>>

标签: Unity3d

评论(0) 浏览(4134)

安装ninja

作者:追风剑情 发布于:2019-1-31 21:45 分类:Unity3d

一、下载ninja https://github.com/ninja-build/ninja/releases

阅读全文>>

标签: Unity3d

评论(0) 浏览(7654)

安装CMake

作者:追风剑情 发布于:2019-1-31 20:28 分类:Unity3d

一、下载CMake https://cmake.org/download/ https://github.com/taka-no-me/android-cmake 下载各历史版本 kitware: https://cmake.org/files github:  https://github.com/Kitware/CMake/relea...

阅读全文>>

标签: Unity3d

评论(0) 浏览(5318)

编译Lua源代码

作者:追风剑情 发布于:2019-1-30 21:25 分类:Unity3d

一、下载Lua源代码 http://www.lua.org/ftp/ 二、生成静态链接库 1、打开Visual Studio新建C++项目,选择静态库 2、将Lua源代码拖到工程中 3、生成静态库 问题1: 如果报以下错 解决方法: ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(13872)

Lua Protobuf

作者:追风剑情 发布于:2019-1-30 14:27 分类:Unity3d

在使用protoc-gen-lua前,先确保电脑上已经安装了Python2.x以及Protobuf Python安装Protobuf 一、下载protoc-gen-lua https://github.com/sean-lin/protoc-gen-lua 二、写两个批处理文件 python %~dp0prot...

阅读全文>>

标签: Unity3d

评论(0) 浏览(16412)

protobuf

作者:追风剑情 发布于:2019-1-28 22:58 分类:Unity3d

protobuf源码下载 https://github.com/protocolbuffers/protobuf https://github.com/protocolbuffers/protobuf/releases http://repo1.maven.org/maven2/com/google/protobuf/ 生成lua代码 https://github.com/...

阅读全文>>

标签: Unity3d

评论(0) 浏览(4775)

解决GitHub无法访问

作者:追风剑情 发布于:2019-1-28 20:05 分类:Unity3d

在线DNS查询,找到一个TTL值低的IP https://tool.chinaz.com/dns/?type=1&host=github.com&ip= 一、修改C:\Windows\System32\drivers\etc\hosts文件 204.232.175.78 http://documentcloud.github.com 52....

阅读全文>>

标签: Unity3d

评论(0) 浏览(12430)

图片内发光

作者:追风剑情 发布于:2019-1-27 14:55 分类:Shader

一、工程截图 二、Shader代码 Shader "Custom/Glow" { Properties { _MainTex ("Texture", 2D) = "white" {} _GlowColor ("Glow Color", Color) = (0, 1, 0, 1) ...

阅读全文>>

标签: Shader

评论(0) 浏览(3186)

绘制圆角矩形

作者:追风剑情 发布于:2019-1-26 10:07 分类:Shader

一、工程截图 二、Shader代码 原理 Shader "Custom/RoundRect" { Properties { _MainTex ("Texture", 2D) = "white" {} _TintColor ("Tint Color", Color) = (1, 1, 1, 1) ...

阅读全文>>

标签: Shader

评论(0) 浏览(3710)

Powered by emlog  蜀ICP备18021003号-1   sitemap

川公网安备 51019002001593号