摘要: 跟着CatLike大神的教程敲了一遍,记录下学习心得。地址:https://catlikecoding.com/unity/tutorials/ 通过刚体移动。 一、复合运算符赋值 desiredJump ,使 desiredJump在接受到按键输入后为True,直到主动赋值为false,它才为fa 阅读全文
posted @ 2021-01-25 13:37 wsfw 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 跟着CatLike大神的教程敲了一遍,记录下学习心得。地址:https://catlikecoding.com/unity/tutorials/ 通过Transform的position移动。 一、通过加速度限制运动物体的速度改变量可以使物体运动更平滑 float maxSpeedChange = 阅读全文
posted @ 2021-01-24 20:53 wsfw 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 如何在Clip范围内执行相应的操作 有两种方法: 官方的方法(一)、通过playable.GetInputWeight(i),获得Weight,在播放到Clip范围内如果没有过渡的话Weight=1,如果没有Clip范围内,Weight=0; 并在ProcessFrame 每帧判断Weight。 ( 阅读全文
posted @ 2021-01-22 14:40 wsfw 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 本人才疏学浅,如有错误还忘指正。 开发目的 本来是想用unityEditor从零写一个,后来发现unityTimeLine提供了这个功能,就使用TimeLine制作了。 通常动作游戏中的动作常伴随着复杂的随着时间变化的事件,所以开发动作游戏需要对动画逐帧去控制(如音效,特效,检测Box,按键检测,屏 阅读全文
posted @ 2021-01-13 16:41 wsfw 阅读(739) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System; using System.Collections.Generic; public abstract class ISQLOperation { public abstract void CreateDateBase(string pa 阅读全文
posted @ 2021-01-12 21:09 wsfw 阅读(191) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using UnityEngine; using UnityEngine.Networking; public enum AssetLoadMode { Resource, AssetBundle, WebRequest 阅读全文
posted @ 2021-01-12 21:06 wsfw 阅读(950) 评论(0) 推荐(1) 编辑
摘要: using System; using System.Collections; using UnityEngine; using UnityEngine.Events; using UnityEngine.SceneManagement; public class SceneComponent : 阅读全文
posted @ 2021-01-12 21:02 wsfw 阅读(105) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.IO; using System.Xml; using UnityEngine; using UnityEngine.SceneManagement; public enum GameModel 阅读全文
posted @ 2021-01-12 20:55 wsfw 阅读(179) 评论(0) 推荐(0) 编辑
摘要: unity EditorWindow 绘制时间刻度 阅读全文
posted @ 2020-12-03 22:02 wsfw 阅读(657) 评论(0) 推荐(0) 编辑
摘要: UnityEditorWindow做一个TimeLine的滑动块 最近在做一个基于TimeLine的动画编辑器,在制作TineLine滑动块时遇到问题,网上查了好久,试了好多GUI组件都不满意。最后在一个unity TimeLine插件中找到合适的方法。 地址:https://github.com/ 阅读全文
posted @ 2020-12-03 21:22 wsfw 阅读(584) 评论(0) 推荐(0) 编辑