using UnityEngine;using System.Collections;using Vuforia;/// <summary>/// 自己重新默认的DefaultTrackableEventHandler脚本(当然你不重写也行,/// 脚本的现实的效果:当摄像头拍摄到识别图时模型显示在 ...
分类:
其他好文 时间:
2016-06-25 09:31:29
阅读次数:
194
using UnityEngine;using System.Collections;using UnityEditor;/// <summary>/// 本脚本用来打包场景/// </summary>public class Assetbundle : MonoBehaviour{ //分开打包 ...
分类:
其他好文 时间:
2016-06-24 18:51:20
阅读次数:
140
第一步:定义实体类,或者定义ViewModel(需要继承BaseViewModel),示范代码如下: /// <summary> /// 链接 /// </summary> public class Link: BaseViewModel, IWidget { /// <summary> /// 链 ...
分类:
其他好文 时间:
2016-06-24 12:22:33
阅读次数:
290
using UnityEngine;using System.Collections;using System.IO;/// <summary>/// Move file./// 移动文件,/// </summary>public class MoveFile : MonoBehaviour { / ...
分类:
其他好文 时间:
2016-06-24 10:32:01
阅读次数:
148
一、索引器 索引器类似于属性,不同之处在于它们的get访问器采用参数。要声明类或结构上的索引器,使用this关键字。 示例: /// <summary>/// 存储星期几的类。声明了一个get访问器,它接受字符串,并返回相应的整数/// </summary>public class 星期{ publ ...
分类:
其他好文 时间:
2016-06-23 22:04:54
阅读次数:
165
1 public class NPOIHelper 2 { 3 /// <summary> 4 /// DataTable导出到Excel文件 5 /// </summary> 6 /// <param name="dtSource">源DataTable</param> 7 /// <param ...
分类:
其他好文 时间:
2016-06-23 16:02:52
阅读次数:
235
/// <summary>/// IEnumerable接口的扩展方法,支持它的实现类是List的情况/// </summary>using System.Collections.Generic;public static class IEnumerableExtensions{ /// <summ ...
分类:
编程语言 时间:
2016-06-22 18:59:57
阅读次数:
138
using System;/// <summary>/// 排序规范/// </summary>/// <typeparam name="T"></typeparam>using System.Linq.Expressions;public interface ISortable<T>{ /// < ...
分类:
其他好文 时间:
2016-06-22 18:39:10
阅读次数:
97
Over the last two weeks, I have read a paper related to the topic—Gestures authentication and mobile security. Exploring the Design Space of Graphical ...
分类:
其他好文 时间:
2016-06-22 10:39:43
阅读次数:
154
public class WaterMark { /// <summary> /// 图片水印 /// </summary> /// <param name="imgPath">服务器图片相对路径</param> /// <param name="filename">保存文件名</param> // ...
分类:
Web程序 时间:
2016-06-22 01:44:48
阅读次数:
230