上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: 代码如下: @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 太乙_真人 阅读(282) 评论(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 太乙_真人 阅读(1241) 评论(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 太乙_真人 阅读(525) 评论(0) 推荐(0)
摘要: 代码如下: 1 using System; 2 using System.Collections.Generic; 3 using UnityEditor; 4 using UnityEngine; 5 6 7 public class RemoveAminCurve : AssetPostproc 阅读全文
posted @ 2021-01-21 19:47 太乙_真人 阅读(758) 评论(0) 推荐(0)
摘要: 效果如下: 代码如下: Shader "Custom/Study/Water" { Properties { _Color ("Color", Color) = (1,1,1,1) _MainTex ("Texture", 2D) = "white" {} _NormalMap ("Normal", 阅读全文
posted @ 2020-12-03 15:48 太乙_真人 阅读(2161) 评论(0) 推荐(1)
摘要: 效果如下(头部无轮廓): 原理:使用2个pass来渲染。 第一个pass中,使用轮廓线颜色渲染整个背面,并在视角空间下把模型顶点沿着法线方法向外扩张一段距离,来让轮廓线可见,公式为: viewPos += viewNormal * _Outline; 注意:如果直接使用顶点法线进行扩展,对于一些内凹 阅读全文
posted @ 2020-09-08 15:58 太乙_真人 阅读(1067) 评论(0) 推荐(0)
摘要: 代码如下: 1 static MD5 s_md5; 2 3 static MD5 MD5Obj => s_md5 ??= MD5.Create(); 4 5 6 public static string ComputeHash(byte[] buffer) 7 { 8 if (buffer == n 阅读全文
posted @ 2020-08-26 15:18 太乙_真人 阅读(803) 评论(0) 推荐(0)
摘要: 参考代码如下: 1 using System; 2 using System.Net; 3 using System.Net.Sockets; 4 using System.Collections.Generic; 5 using UnityGMClient.Network.Utility; 6 7 阅读全文
posted @ 2020-08-12 17:26 太乙_真人 阅读(597) 评论(0) 推荐(0)
摘要: Unity与nodejs图片服上传下载图片等的项目代码,分享如下: 1 using UnityEngine; 2 using System.Collections; 3 using System.Text; 4 using System.Collections.Generic; 5 using Sy 阅读全文
posted @ 2020-05-09 17:16 太乙_真人 阅读(657) 评论(0) 推荐(0)
摘要: 原文链接:https://www.cnblogs.com/zhenzaizai/p/7434669.html Ftp模块: 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Li 阅读全文
posted @ 2020-05-07 10:27 太乙_真人 阅读(760) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页