![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
unity开发
文章平均质量分 77
残夜听风
本人新手多多关照
展开
-
unity 打开文件对话框功能及非Editor模式下全屏播放打开文件对话框后程序转后台问题的处理
(适用系统Windows)unity5.4及以前的版本没有自己的文件打开存储功能,如果需要操作本地文件,只能通过调用系统功能进行文件操作,以下是详细代码using UnityEngine;using System.Collections;using System;using System.Runtime.InteropServices;[StructLayout(LayoutKind.S...原创 2018-03-08 16:48:14 · 448 阅读 · 1 评论 -
Mutex(互斥操作)在Unity中的使用
对于中控操作的Unity程序,有时需要实现只能运行一个本程序的功能,实现此功能就需要用到Mutex(互斥操作),下面简单讲下Mutex在unity中的使用方法,首先创建ToolMutex.cs:using UnityEngine;using System;using System.Collections.Generic;using System.Linq;using System.Runt...原创 2018-03-28 10:20:54 · 2697 阅读 · 1 评论