随笔分类 - unity 笔记
摘要:
阅读全文
摘要:二、常用修饰符 在Unity中,属性修饰符可以用于控制序列化行为、编辑器显示和其他功能。以下是一些常用的Unity属性修饰符及其含义: [HideInInspector] 此属性修饰符可以隐藏一个字段或属性,使其在Inspector窗口中不可见。 [Range(min, max)] 限制一个数值字段
阅读全文
摘要:using Newtonsoft.Json.Linq;using System;using System.IO; class Program{ static void Main() { string json = File.ReadAllText("data.json"); // 从文件中读取JSO
阅读全文
摘要:安卓文件夹下 gradleTemplate 文件 添加 代码 android.overridePathCheck=true 打包发布
阅读全文
摘要:using System.Collections.Generic; using UnityEngine; using System.Drawing; using System.Drawing.Imaging; using UnityEngine.UI; public class DongTu : M
阅读全文
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography; using System
阅读全文
摘要:using System.IO; using UnityEditor; using UnityEditor.Callbacks; using UnityEngine; public class PostBuildActions { [PostProcessBuild] public static v
阅读全文
摘要:Simple <color=yellow>example</color> of text created with <#80ff80>TextMesh <#8080ff>Pro</color>!
阅读全文
摘要:<!DOCTYPE html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Unity Web
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; //选择轴向 public enum axisPostion { x_dir, y_dir, z_dir, } public class ho
阅读全文
摘要:public RenderTexture renderTexture; void Start() { int width = renderTexture.width; int height = renderTexture.height; Texture2D texture2D = new Textu
阅读全文
摘要:所需dll 网盘下载 链接: https://pan.baidu.com/s/12K0eZMt6JGfQlRKYDOJ9dA 提取码: n5jx using NPOI.SS.UserModel; using System.IO; using UnityEngine; using NPOI.XSSF.
阅读全文
摘要:创建 using System; using UnityEditor; using UnityEngine; public class CreateAsset : Editor { //在菜单栏创建功能项 [MenuItem("数据/Excel")] static void Create() { S
阅读全文
摘要:链接:https://pan.baidu.com/s/1N3lV6VEKuuXi-a9Db2XmSw?pwd=icmw 提取码:icmw --来自百度网盘超级会员V5的分享 打包出来也可使用 using System.Data; using System.IO; using Excel; using
阅读全文
摘要:插件 LibUsbDotNet.dll 网盘下载 链接: https://pan.baidu.com/s/1QoHa3sMZxAlckQJmF3mRGA 提取码: 7ybq 安装 LibUsbDotNet_Setup.2.2.8.exe 默认安装地址 C:\Program Files\LibUsbD
阅读全文
摘要:之前遇到一个问题要从MeshCollider背面方向发出射线,直至检测到该射线与MeshCollider的相交点为止。 后来我用双面MeshCollider的方法解决了http://www.cnblogs.com/hont/p/6628841.html 但是这样又会导致许多其他问题,因为构建出来的双
阅读全文
摘要:using Newtonsoft.Json; using System.Collections.Generic; using UnityEngine; public class JsonDe : MonoBehaviour { public class Produc { public string
阅读全文
摘要:string dir = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using System.Threading; using UnityEngine; [System.Serializable] public class fangkuai{ pu
阅读全文
摘要:此功能将右边的四边行内的坐标点转换成左侧的矩形坐标点 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Calibration : MonoBehaviour { [
阅读全文
浙公网安备 33010602011771号