自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 Unity3d 切换场景过度动画

背景通常游戏的主场景包含的资源较多,这会导致加载场景的时间较长。为了避免这个问题,可以首先加载Loading场景,然后再通过Loading场景来加载主场景。因为Loading场景包含的资源较少,所以加载速度快。在加载主场景的时候一般会在Loading界面中显示一个进度条来告知玩家当前加载的进度。在Unity中可以通过调用Application.LoadLevelAsync函数来异步加载游戏

2017-12-20 10:22:03 5937

原创 A20_Socket编程UDP协议通讯

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;using System.Net;using System.Net.Sockets;namespace A20_

2017-12-13 00:47:28 145

原创 A19_Soket编程TCP协议通讯

/* * Socket(套接字)编程 * 设备之间的识别依靠IP地址 * 设备中进程之间的是别的靠端口号 * TCP/IP协议 用于距离较远的,对精准度要求高的信息传输 * UDP协议用于距离较近,对信息精准度要求较低但要求速度快的信息传输 * * * **/using System;using System.Collections.Generic;using Syste

2017-12-13 00:43:00 181

原创 A18_深入了解多线程

/* * 测试线程的“死锁”,及解决方法 * * * * **/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace A18_Inde

2017-12-12 18:07:35 238

原创 A17_多线程

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading;namespace A17_Multithreading{ class MyThread {

2017-12-12 18:04:13 324

原创 A16_Linq查询表达式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A16_LinqQueryExpression{ public class Employee { public

2017-12-12 00:12:32 131

原创 A15_特性

/* * * Obsolete * * * * **/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;using System.Diagno

2017-12-10 15:29:13 188

原创 A14_反射

/* * 1.反射是通过程序,了解及调用“程序集”的相关属性,方法,字段 * 通过反射可读取程序集(*.exe *.dll)中代码的内容 * 可以根据(字符串)类名,来动态创建类的对象 * 可以动态获取对象中的方法、属性、字段 * 可以根据(字符串)方法名称来调用执行。 * * 使用反射需要引入命名空间 System.Reflaction * Type类实例可以获取类的名称、所

2017-12-10 15:21:35 112

原创 A13_委托与事件的区别

/* * * 事件不能声明局部实例 * 事件不能作为方法的参数 * * * ***/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A13_DifferentBetweenD

2017-12-08 21:32:09 117

原创 A12_获取与清空委托列表|匿名委托|Lambda表达式

/* * 委托的取值与清空委托列表 * * **/using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A12_GetAndCleanDelegateList{ class Dem

2017-12-08 21:30:32 177

原创 A11_C#封装的委托

/* * Action 委托 没有返回值没有参数 * */using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A11_DelegateInSystem{ class Dem

2017-12-08 21:26:33 226

原创 A10_委托基础回顾

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A10_IndepthStudyDelegate{ //定义委托 public delegate void InformInf

2017-12-08 21:23:52 96

原创 A09_正则表达式

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Text.RegularExpressions;//正则表达式的概念//检查,检索,替换那些符合某个模式的文本//屏蔽或替换用户输入

2017-12-07 11:59:07 134

原创 A08_序列化与反序列化

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace A01_SerializeAndDeserialize{ [Serializable]//可序列化且不可被赋值 class Pe

2017-12-07 11:56:27 95

原创 A07_文本文件的读写

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace A07_IOTextFileReadAndWrite{ class Demo9 {

2017-12-07 11:49:44 129

原创 A06_大文件拷贝

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace A06_CopyBigFileByFileStream{ class Demo8 {

2017-12-06 12:09:57 130

原创 A05_IO文件流读写

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace A05_IOFileStreamTec{ class Demo7 { pr

2017-12-06 11:49:31 116

原创 A04_IO文件直接读写

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace A04_IOFileStream{ class Demo6 { private

2017-12-06 11:46:20 106

原创 A03_IO文件管理

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace A03_IOFileManagement{ class Demo5 { pri

2017-12-06 11:39:24 946

原创 A02_IO路径管理

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO;namespace A02_IOPathManagement{ class Demo4 { pr

2017-12-06 11:32:42 136

原创 A01_C#IO目录管理

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.IO; //输入输出流using System.Reflection; //反

2017-12-06 11:17:24 95

空空如也

空空如也

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

TA关注的人

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