上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页
摘要: 代码如下: 批量设置: 1 using System.Collections.Generic; 2 using System.IO; 3 using UnityEditor; 4 using UnityEngine; 5 6 public class TextureCompressTool : Sc 阅读全文
posted @ 2021-10-21 13:57 孤独の巡礼 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 以下代码实现了Addressable Assets的初始化,登陆时下载,静默下载,如下: 1 using ClientData; 2 using Common; 3 using System; 4 using System.Collections; 5 using System.Collection 阅读全文
posted @ 2021-10-15 18:41 孤独の巡礼 阅读(939) 评论(0) 推荐(0) 编辑
摘要: 代码如下: 1 [MenuItem("FashionBeat/Common/Remove missing component")] 2 static void RemoveMissing() 3 { 4 for (int i = 0; i < Selection.objects.Length; i+ 阅读全文
posted @ 2021-09-29 13:38 孤独の巡礼 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 直接看效果,修改前为: 修改后为: 工具代码如下: 1 [MenuItem("Saber/Asset/Fix Dance Anim")] 2 static void FixDanceAnim() 3 { 4 UnityEngine.Object[] objs = Selection.objects; 阅读全文
posted @ 2021-08-20 15:19 孤独の巡礼 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 2021年8月13日之后使用git push会报下面这个错: fatal: HttpRequestException encountered.remote: Support for password authentication was removed on August 13, 2021. Ple 阅读全文
posted @ 2021-08-16 09:10 孤独の巡礼 阅读(573) 评论(0) 推荐(0) 编辑
摘要: 如下: @echo off set srcpath=F:\配置表\配置表 set destpath=F:\git_code\Server\server\server\data echo 源地址:%srcpath% echo 目标地址:%destpath% echo\ echo\ set srcmus 阅读全文
posted @ 2021-04-22 09:15 孤独の巡礼 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 代码如下: 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 孤独の巡礼 阅读(2146) 评论(1) 推荐(0) 编辑
摘要: 首先介绍几种缓动类型: 1. EaseIn,缓动发生在入口处 2. EaseOut,缓动发生在出口处 3. EaseInOut,两边都有缓动 如图: 常用的几种插值公式如下: 1. 帧数无关的EaseOut插值 x = Lerp(x, y, t); 2. 帧数无关的SmoothDamp插值,常用于相 阅读全文
posted @ 2021-02-23 09:11 孤独の巡礼 阅读(623) 评论(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 孤独の巡礼 阅读(261) 评论(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 孤独の巡礼 阅读(1070) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 19 下一页