![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
unity
文章平均质量分 79
yang854426171
这个作者很懒,什么都没留下…
展开
-
C# TCP网络编程1
Socket serverSocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); IPAddress ip = IPAddress.Parse("192.168.1.102"); IPEndPoint ipEndPoint = new IPEndPoint(ip, 3344); serverSoc原创 2019-03-23 13:41:27 · 353 阅读 · 0 评论 -
Unity 文件(文件夹)操作
Unity 文件(文件夹)操作文件拷贝 private static void CopyFile(string sourcePath,string targetPath) { FileInfo fileinfo = new FileInfo(targetPath); if (File.Exists(sourcePath)){...原创 2019-04-01 12:59:53 · 3686 阅读 · 0 评论 -
unity assetbunle(-)
Unity Assetbunle(-)加粗样式清除文件夹下所有Assetbundle的assetBundleName private static void ClearAssetBundleName(DirectoryInfo directoryInfo) { if (directoryInfo.Exists) { Dir...原创 2019-04-01 16:00:10 · 223 阅读 · 0 评论 -
Unity实现类似Dotween链式结构扩展(Audio)...
转载自http://www.manew.com/forum.php?mod=viewthread&tid=139396&extra=page%3D1%26filter%3Dtypeid%26typeid%3D497驱动类using UnityEngine;/// <summary>/// 音频事件驱动器/// </summa...原创 2019-04-02 12:59:21 · 659 阅读 · 0 评论 -
UnityEditor——GUI(1)MenuItem(菜单)
菜单MenuItem(string path,bool isActive,int 分隔符号和排序) 三个参数path代表路径 isActive代表这个菜单是否可用,需要配合使用,下面说明using UnityEditor;using UnityEngine;public class FirstMenu{ [MenuItem("Tool/FirstMen...原创 2019-04-11 22:16:27 · 458 阅读 · 1 评论 -
UnityEditor——GUI(2)ContextMenu(MonoBehavior菜单)
还有一些特殊菜单 Asset/..... GameObject/... Component ....等 会在相应的区域生成一样的菜单using UnityEngine;public class MyMono : MonoBehaviour{ // ContextMenuItem(string name, string function) //右键点击这个属性会...原创 2019-04-11 22:59:21 · 600 阅读 · 0 评论 -
Unity资源热更新(1)简单版
1.资源路径定义using System.Collections;using System.Collections.Generic;using UnityEngine;public class AssetPathDefine{ public const string fileRes = "/BundleResources"; //打包Ass...原创 2019-04-12 11:21:26 · 1230 阅读 · 0 评论 -
UnityEditor——GUI(3)基础
using System.Collections;using System.Collections.Generic;using UnityEngine;// 标签public class ScreenDisplay : MonoBehaviour{ void OnGUI() { //左上角 ...原创 2019-04-12 13:02:17 · 264 阅读 · 0 评论