图片合成

作者:追风剑情 发布于:2022-1-28 11:05 分类:C#

/// <summary> /// 图片合成辅助类 /// </summary> public sealed class CombinImageHelper { //合成多张图片 public static Image CombinImage(params string[] filePathArr) { Image img0 = Image.Fro...

阅读全文>>

标签: C#

评论(0) 浏览(1539)

Pro GIF Plugin for Unity

作者:追风剑情 发布于:2022-1-20 16:41 分类:Unity3d

https://www.swanob2.com/progif 一款强大的播放、录制GIF的插件 一、创建ProGifManager实例 ProGifManager gifMgr = ProGifManager.Instance; 二、设置录制参数 gifMgr.SetRecordSettings(true,...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2918)

LZW压缩算法

作者:追风剑情 发布于:2022-1-20 15:21 分类:C#

using System; using System.Text; using System.Collections; using System.Collections.Generic; using System.IO; namespace LZWTest { class Program { static void Main(string[] a...

阅读全文>>

标签: C#

评论(0) 浏览(1718)

亮度&对比度&饱和度

作者:追风剑情 发布于:2022-1-7 17:45 分类:Shader

Shader "Custom/Unlit/Texture" { Properties{ _MainTex("Base (RGB)", 2D) = "white" {} //亮度值 _Brightness("Brightness", float) = 20 //对比度 _Contrast("Contr...

阅读全文>>

标签: Shader

评论(0) 浏览(1645)

游戏版本号检测

作者:追风剑情 发布于:2022-1-7 12:05 分类:Unity3d

一、在游戏代码中记录版本号,方便获取 using System; using System.IO; using UnityEngine; using UnityEditor; /// <summary> /// 自动在代码中记录 verion、bundleVersionCode /// 参考 https://blog.csdn.net/zxsean/article/d...

阅读全文>>

标签: Unity3d

评论(0) 浏览(1964)

游戏定时器

作者:追风剑情 发布于:2022-1-6 16:10 分类:Unity3d

using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; /// <summary> /// 游戏定时器 /// </summary> public class GameTimer : MonoBehaviour { public static Gam...

阅读全文>>

标签: Unity3d

评论(0) 浏览(1710)

Tree Editor (树编辑器)

作者:追风剑情 发布于:2022-1-4 15:25 分类:Unity3d

官方文档 Tree Editor (树编辑器) 构建第一棵树 一、创建树干 1、GameObject->3D Object->Tree 此时树包含两个节点: Tree Root Note、Branch Group 二、创建树枝 1、选中 Branch Group 点击 Add Branch Group 按钮,增加树枝 选中二级 Branch Group,并调整 ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2530)

Powered by emlog  蜀ICP备18021003号-1   sitemap

川公网安备 51019002001593号