02 2021 档案

摘要:代码如下: 1 using System.Linq; 2 using System.IO; 3 using UnityEditor; 4 using UnityEditor.AddressableAssets; 5 using UnityEditor.AddressableAssets.Settin 阅读全文
posted @ 2021-02-25 14:38 孤独の巡礼 阅读(2248) 评论(1) 推荐(0) 编辑
摘要:首先介绍几种缓动类型: 1. EaseIn,缓动发生在入口处 2. EaseOut,缓动发生在出口处 3. EaseInOut,两边都有缓动 如图: 常用的几种插值公式如下: 1. 帧数无关的EaseOut插值 x = Lerp(x, y, t); 2. 帧数无关的SmoothDamp插值,常用于相 阅读全文
posted @ 2021-02-23 09:11 孤独の巡礼 阅读(684) 评论(0) 推荐(0) 编辑
摘要:代码如下: @taskkill /im AccountServer.exe /f @taskkill /im Agent.exe /f @taskkill /im GameServer.exe /f @taskkill /im GroupServer.exe /f start AccountServ 阅读全文
posted @ 2021-02-08 15:12 孤独の巡礼 阅读(271) 评论(0) 推荐(0) 编辑
摘要:效果如下: 代码如下: 1 float3 RGBToHSV(float3 rgb) 2 { 3 float R = rgb.x; 4 float G = rgb.y; 5 float B = rgb.z; 6 float3 hsv; 7 float max1 = max(R, max(G, B)); 阅读全文
posted @ 2021-02-05 18:02 孤独の巡礼 阅读(1180) 评论(0) 推荐(0) 编辑
摘要:代码如下: static void StartProcess(string folder, string processName) { string path = Path.Combine(folder, processName); try { Process.Start(path); } catc 阅读全文
posted @ 2021-02-05 11:26 孤独の巡礼 阅读(517) 评论(0) 推荐(0) 编辑