自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 unity 左右手坐标系互转

左右手坐标系矩阵互转

2022-09-21 11:45:38 630 2

原创 ARCore SDK for Unity requires a customized Gradle with version >= 5.6.4.

更新了ARCore,打包时报错ARCore SDK for Unity requires a customized Gradle with version >= 5.6.4.升级gradle版本即可:/Applications/Unity/Hub/Editor/2019.2.13f1/PlaybackEngines/AndroidPlayer/Tools/GradleTemplates/mainTemplate.gradle插件版本和gradle版本详细列表:https://devel

2020-09-16 11:54:53 1055 1

转载 关闭华为手机屏幕下滑搜索功能

摘自花粉俱乐部论坛adb shell pm disable-user com.huawei.search

2020-09-15 15:57:33 4947

原创 Lua学习笔记 一

自定义一个module,用require(“module”)结果提示notfound,原因可能是WorkingDirectory不正确默认WorkingDirectory是src,手动修改到自己需要的路径即可还有我这么这么新的新手嘛……...

2020-05-07 15:05:08 150

原创 Unity检测Resources文件夹下prefab上的图片丢失问题

[MenuItem("Tools/检测image_texture是否丢失")] public static void CheckImageMissing() { string[] allPath = AssetDatabase.FindAssets("t:Prefab", new string[] { "Assets/Resources" }); ...

2020-04-30 15:32:28 714

原创 荣耀手机删除百度输入法华为版

1.打开开发者模式2.连接电脑3.adb uninstall --user 0 com.baidu.input_huawei4.关闭开发者模式

2020-02-07 20:51:34 5098

转载 空格自动换行(转)

转自:https://www.cnblogs.com/leoin2012/p/7162099.html我们平时所使用的空格(即键盘Sapce键输出的空格),Unicode编码为\u0020,是换行空格(Breaking Space),空格前后的内容是允许自动换行的;与之对应的不换行空格(Non-breaking space),Unicode编码为\u00A0,显示与换行空格一样,...

2019-12-10 09:38:33 802

原创 C#中将float[]转化为byte[]

两种方法:1.单个float转化为byte[],然后拼起来: public byte[] FloatArrayToByteArray(float[] floats) { if (floats.Length <= 0) { return null; } byte[] bytes = ...

2019-08-13 11:24:10 5841

转载 Unity GC以及优化(转)

搬运搬运搬运~便于以后查看,搬运过来http://www.360doc.com/content/17/0630/09/40005136_667655768.shtml

2019-07-02 17:30:28 150

原创 抓Log抓Log

private void CatchLog(string v) { string path = null; if (Application.platform != RuntimePlatform.Android) { path = @"E:\Log"; } else ...

2019-04-19 14:34:10 305

转载 Android SDKmanager闪退

找着一个适合我这种情况的解决办法转自:https://www.cnblogs.com/hubing/p/4661259.html原文:在打开android sdk mangage.exe的时候,一闪而过,在eclipse中出现如下提示:[2015-07-20 13:42:23 - SDK Manager] [SDK Manager] This version of F:\A...

2019-04-10 12:48:07 149

转载 用for循环删除list中的项

不可用foreach循环删除,会抛异常。因为list.Count会改变,一改变就抛异常用for循环删除一项后面的项会向前移动一位,导致跳过中间某项但是可以用for循环从最后一项开始向前循环完美...

2018-12-27 14:09:03 851

原创 apk中提取图标

需要引用库:ICSharpCode.SharpZipLib.dll图标路径:    //texture path    string first = "res/mipmap-xxxhdpi-v4/app_icon.png";    string second = "res/drawable-xxxhdpi-v4/app_icon.png";    string third = "re...

2018-10-10 17:26:51 2185

转载 交换两个数

i=1;j=2;public void Exchange(int i,int j){    i=i+j;    j=i-j;    i=i-j;}

2018-08-21 17:40:35 96

转载 关于videoplayer

VideoPlayer的脚本控制与AudioSource相似,有常规的Play,Pause,Stop方法,也有用于进度控制的time,isPlaying,isLooping,frame,frameCount等属性。VideoPlayer可以使用一系列事件来监听播放的各个动作:errorReceived: 错误监听到时被执行。frameDropped :有丢帧发生时被执行。fra...

2018-08-09 15:24:46 938 2

转载 AssetBundle

打包:    1.可以指定一个mainAsset,加载时通过AssetBundle.mainAsset加载    2.不指定mainAsset,直接打包一堆内容进去,加载时通过AssetBundle.LoadAsset指定名字读取到压缩类型:    1.LAMA:体积最小,解压时间长    2.LZ4:出现于5.3之后的版本,体积较大,解压时间相对较短(BuildAssetBundleOption...

2018-06-28 11:18:17 169

原创 遍历子物体

只会遍历一级子物体1.     for (int i = 0; i &lt; transform.childCount; i++)        {                Debug.Log(transform.GetChild(i).gameObject.name);        }2.    foreach(Transform item in transform)        { ...

2018-06-01 11:15:54 514

空空如也

空空如也

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

TA关注的人

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