随笔分类 - .Net
摘要:在unity5中减少Draw Calls(SetPass Calls) 我一直工作于unity5支持的Standard Shader(标准着色器)上,并且做了一些关于如何有效地减少draw call的测试,在Unity5全新的standard shader上,实际成果相当可观。 我们先科普一下sta
阅读全文
摘要:保护资源管理文件的相关内容 Unity允许用户使用AssetBundle.CreateFromMemory从一个 byte[]数组中建立一个AssetBundle的对象。在运行传输解密时,可以用这种加密方法来提高安全性和保护用户建立的资源管理中的内容。string url = "http://www.mywebsite.com/mygame/assetbundles/assetbundle1.unity3d";IEnumerator Start () {// Start a download of the given URLWWW www = new WWW (url);/
阅读全文
摘要:1、只安装了.net framework 4.0,那么应用程序池也只能使用4.0的。vs编译的asp.net网站也只能使用.net framework 4.0.2、asp.net网站要动态生成目录和读写文件需要如下步骤:2.1、修改应用程序标识2.2、给目录权限 添加NETWORK SERVICE账户2.3、添加权限完成。
阅读全文
摘要:1、安装IIS时要选择.net扩展和ASP.net,否者运行时会无法解析.net2、安装IIS后要检查.net framework是否安装,如果没有则安装:%windows%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i3、HTTP 错误 500.19 - Internal Server Error 无法访问请求的页面,因为该页的相关配置数据无效。 添加一个应用程序池,.net framework版本选择v2.0.50727 确定。在网站的高级设置中的应用程序池中选择刚刚添加的。确定问题解决。
阅读全文
摘要:Client:using UnityEngine;using System.Collections;using LitJson;public class GetPhotoList : MonoBehaviour { // Use this for initialization void Start () { StartCoroutine(GetPhotos()); } // Update is called once per frame IEnumerator GetPhotos(){ WWWForm form =...
阅读全文
浙公网安备 33010602011771号