![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
unity
前行now
这个作者很懒,什么都没留下…
展开
-
在Unity中使用语音识别及回调
#在Unity中使用语音识别及回调##1.语音识别类using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Windows.Speech;using System;public class ASPManager { private static ASPManager _instance; public static Dictionary<s原创 2021-04-09 16:20:10 · 318 阅读 · 1 评论 -
unity向内弯曲文本Text
#unity向内弯曲文本此脚本挂载在Text上效果如图using System;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI;public class TextDotModel{ public UIVertex lb = new UIVertex(); public UIVertex lt = new UIVertex(); public UIVertex rt =原创 2020-09-18 17:02:15 · 1856 阅读 · 0 评论 -
使用Unity导出excel表
使用Unity导出excel表你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。1.导入EPPlus.dll到Plguins2.添加脚本using System;using System.Collections;using System.Collections.Generic;using System.Runtime.InteropServices;using Unit原创 2020-07-22 20:13:54 · 1829 阅读 · 2 评论 -
unity中使用Tab键切换InputField输入框
unity中使用Tab键切换InputField输入框using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.EventSystems;using UnityEngine.UI;public class TabInputField : MonoBehaviour{ private List<GameObject> inputList;原创 2020-05-15 17:35:43 · 2631 阅读 · 4 评论 -
unity使用C#获取网络时间和本地时间
unity使用C#获取网络时间和本地时间using System;using System.Collections;using System.Collections.Generic;using System.Net;using UnityEngine.UI;public class UITopBar : MonoBehaviour { private Text textTime; private void Awake() { textTime = tr原创 2020-05-14 18:26:52 · 1873 阅读 · 0 评论 -
unity使用UnityWebRequest加载AssetBundle包
unity加载AssetBundle包并显示进度条using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.Networking;using UnityEngine.UI;public class ABTest : MonoBehaviour { ...原创 2020-04-30 19:52:50 · 3968 阅读 · 0 评论 -
Hololens与UI的交互,检测物体以及常见手势
Hololens与UI的交互,检测物体以及常见手势using System.Collections;using System.Collections.Generic;using Microsoft.MixedReality.Toolkit.Input;using UnityEngine;using UnityEngine.XR.WSA.Input;using UnityEngine.E...原创 2020-03-26 18:50:27 · 2262 阅读 · 0 评论 -
unity中使用鼠标右键控制旋转滑轮控制视角
using System.Collections;using System.Collections.Generic;using UnityEngine;public class MouseCamera : MonoBehaviour{ public enum RotationAxes { MouseXAndY = 0, //上下左右滑动 ...原创 2019-10-24 16:04:27 · 8898 阅读 · 1 评论 -
unity中选择本地文件
1级标题工具类using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Text;namespace Protocol{ [StructLayout(LayoutKind.Sequential, Char...原创 2019-10-16 11:05:27 · 6997 阅读 · 0 评论 -
使用C#执行bat文件和结束某个端口号
1级标题启动bat private string _start; //bat路径 private void Awake() { _start = @"C:\test\test.bat"; RunBat(_start); } //启动bat public void RunBat(string filename) ...原创 2019-10-16 10:57:38 · 6614 阅读 · 0 评论 -
unity使用C#杀死电脑的进程和打开程序
使用C#杀死电脑的进程和打开某个程序 //杀死某段程序 void KillProcess(string processName) { Process[] processes = Process.GetProcesses(); foreach (Process process in processes) { ...原创 2019-10-16 10:45:09 · 7391 阅读 · 1 评论 -
用C#进行Byte与文件(zip)的相互转换以及zip的解压缩
用C#进行Byte与文件的相互转换using System;using System.Collections.Generic;using System.IO;namespace Protocol{ [Serializable] public class FileBinaryConvertHelper { /// <summary> ...原创 2019-10-16 10:26:08 · 8513 阅读 · 0 评论 -
在unity中使用C#进行xml账号密码的增删改查
在unity中使用C#进行xml的增删改查using System.Collections;using System.Collections.Generic;using GameServer.Cache;using GameServer.Model;using Protocol.Dto;using UnityEngine;public class ListData :MonoBeh...原创 2019-10-16 10:21:09 · 6596 阅读 · 0 评论 -
unity获取Focus Plus的序列号
unity获取Focus Plus的版本号private void Start(){ if (Application.platform == RuntimePlatform.Android) { AndroidJavaClass build = new AndroidJavaClass("android.os.Build"); string s...原创 2019-10-16 10:01:51 · 6921 阅读 · 0 评论