自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 unity iOS C/Objective-C回调C#

unity iOS C/Objective-C回调C#

2022-07-08 11:21:08 289

原创 .NET c#源码

https://referencesource.microsoft.com/#mscorlib/system/collections/generic/dictionary.cs

2021-07-02 17:46:33 109

原创 Rect.OverLaps() 改进

解决 scale、pivot 改变后 检测不准确问题using UnityEngine;public static class ExpTool{ static Rect rect = new Rect(); static float x, y, width, height; static Vector2 center; public static Rect GetRect(this RectTransform self, float offsetScale

2021-06-23 15:13:49 595

原创 unity 编辑器下 批量设置ab 与 图片设置图集packing tag

using UnityEngine;using UnityEditor;public class Tools : Editor{ [MenuItem("Tools/SetAB_Tag")] static void SetABAndTag() { string assetPath = "Assets/ab"; string[] uids = AssetDatabase.FindAssets("t:Prefab t:Texture", new ...

2020-06-29 17:07:16 788

原创 'xxx' script. Some are Mac OS X (UNIX) and some are Window解决方案

在asset目录下创建文本,命名为  mcs.rsp      写入 -unsafe 保存重开即可 

2019-02-25 17:07:20 2561 1

原创 unity 截图

  using System.Collections;using UnityEngine;using System.IO;using UnityEngine.Networking;public class ScreenShotTest : MonoBehaviour{    private string path = string.Empty;    void Star...

2019-02-15 11:24:50 182

转载 Unity 简单封装UnityWebRequest

转自 https://www.jianshu.com/p/3da9191f82a0 using System;using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Networking;public class C_UnityWebRequest ...

2019-02-14 16:29:39 831 2

原创 unity中 判断目标在自身的方位

1.在自身的前后:   Vector3.Dot (transform.forward, target.position-transform.position)      返回值为正时,目标在自己的前方,反之在后方2.在自身的左右:   Vector3.Dot(transform.right, target.position-transform.position)      返回值为正时,目标在自己...

2018-02-24 15:26:32 3508 1

空空如也

空空如也

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

TA关注的人

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