自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

原创 记录一些东西

热更huatuoGitHub链接InjectFixGitHub链接

2022-07-25 10:13:23 465

原创 Obi Cloth

父物体挂载Obi Solver //布料控制Obi Late Fixed Updater //刷新频率布料挂载Obi Skinned Cloth RendererObi SkinnedClothObi Cloth Proxy需要创建的Skinned Cloth BlueprintTriangle Skinmap

2022-05-18 11:30:24 608 1

原创 Protot

using UnityEngine;using System.Collections;using System.Collections.Generic;using ExitGames.Client.Photon;using Proto.MyProto;using Google.Protobuf;using I2.Loc;using System;public class ServerEngine:MonoSingleton<ServerEngine> , IPhotonPeer

2022-04-27 11:26:47 63

原创 滑动选择器

using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.EventSystems;using UnityEngine.UI;public enum limtiType{ min, max}public class UnionLimitPacker : MonoBehaviour, IBeginDragHandler, IDragHandler,

2022-04-27 11:25:29 188

原创 DoTween简单使用

DoTweenDOTween.ToAlpha() 修改阿尔法通道//参数1 委托需要修改的属性 固定格式//参数2 变量修改 固定格式//参数3 最终值//参数4 变化时间 DOTween.ToAlpha( () => boardImage1.color, x => boardImage1.color = x, 0, 1).SetLoops(-1, LoopType.Yoyo); //SetLoops

2022-04-09 17:57:37 469

原创 unity双开,符号连接

第一步:新建txt文件,输入以下代码:在这里插入代码片%cd%rem set dir=复制出来的项目名 remif not exist %dir%( md %dir% ) rem mklink /J %dir%\Assets 你的项目名\Assetsmklink /J %dir%\ProjectSettings 你的项目名\ProjectSettingsmklink /J %dir%\AssetBundles 你的项目名\AssetBundles pause将其中的中文部分改掉

2022-04-07 17:06:59 223

原创 Math常用方法

Math称之为数学函数,它也是对象数据类型的,主要是用来操作数字的1、Math.abs()求绝对值Math.abs(-1)2、Math.ceil/Math.floor向上取整,向下取整向上取整,无论是正数还是负数,都取最大的值向下取整,无论是正数还是负数,都取最小的值Math.ceil(1.2)2Math.ceil(-1.6)-1 Math.floor(1.8)1Math.floor(-1.1)-23、Math.round()四舍五入正数的话,还是正常的,之前理解的,但是如

2022-04-07 17:06:14 618

原创 C# 常用属性标记 记录

[HideInInspector] 属性例:[HideInInspector]public NavMeshObstacle nmo;使得一个变量不显示在inspector(检视面板)但是被序列化。即不会显示,也不会被外部类调用。RequireComponent例:[RequireComponent(typeof(PlayMakerFSM))]当你添加的一个用了RequireComponent组件的脚本,需要的组件将会自动被添加到game object(游戏物体)。这个可以有效的避免组装错误。举

2022-03-24 09:15:13 690

原创 文件编辑器

文件编辑器NOTEPAD++官方网站:http://notepad-plus-plus.org/VIM官方网站:http://www.vim.org/GNU Emacs官方网站:http://www.gnu.org/software/emacs/SUBLIME TEXT官方网站:http://www.sublimetext.com/ATOM官方网站:https://atom.io/PSPAD官方网站:http://www.pspad.com/en/GEA

2022-03-24 09:11:22 94

原创 角色移动基础

摇杆public class RockerTool : MonoBehaviour{public Image rocker, rockerParent; //摇杆点点物体 父物体我们通过.parent取得private Vector3 beginPos;//鼠标点下后的起始位置public PlayerMove playerMove;void Update(){ Rocker();}public void Rocker(){ if (Input.GetMouseButto

2022-03-14 13:57:03 57

原创 Arabic RTL格式 Git 资源

ArabicSupport git路径 https://github.com/Konash/arabic-support-unityRTLTMPro git路径 https://github.com/mnarimani/RTLTMPro

2020-09-28 11:50:20 102

原创 文件夹编辑常用类

Application.dataPath app安装路径string 类sting 使用Directory 类Directory 常用方法File类File 常用方法Directory 类和File 类区别File类(静态类)File类支持对文件的基本操作,它包括用于创建、复制、删除、移动和打开文件的静态方法,并协助创建FileStream对象。对文件的操作Directory类(静态类)Directory类公开了用于创建、移动、枚举、删除目录和子目录的静态方法。对文件夹的操

2020-09-28 11:50:05 149

Git unity 快速启动工具

Git unity 快速启动工具

2022-12-02

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除