上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 转载自网络: 出现这个提示:The AnimationClip 'xxx' used by the Animation component 'xxx' must be marked as Legacy.百度,说是在rig面板里,设置Animation Type为Legacy,但是我的动画并不是导入模... 阅读全文
posted @ 2014-12-05 16:56 vonly 阅读(2537) 评论(0) 推荐(0) 编辑
摘要: 使用代码 var wnd = win32.FindWindowA(null, "窗口标题"); Int32 wndStyle = win32.GetWindowLong(wnd, win32.GWL_STYLE); wndStyle &= ~win32.WS_BORDER; wndStyle &= ... 阅读全文
posted @ 2014-11-20 18:48 vonly 阅读(4252) 评论(0) 推荐(0) 编辑
摘要: 解决步骤:1.添加一个摄像机,命名为BackgroundCamera,然后在Layer添加一个background层。并且将plane拖放到改相机节点下。 然后将BackgroundCamera和Plane都置于background层,修改ClearFlags未Depthonly深度渲染,并且设置 ... 阅读全文
posted @ 2014-11-13 11:33 vonly 阅读(5248) 评论(1) 推荐(0) 编辑
摘要: 今天我们来学 socket 发送结构体1. 先看要发送的结构体usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Runtime.InteropServices;namespaceLin.p2p.Mo{//... 阅读全文
posted @ 2014-10-30 19:11 vonly 阅读(1716) 评论(0) 推荐(0) 编辑
摘要: 今天来写一个UPD1.服务端:usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Net.Sockets;usingSystem.Net;namespaceConsoleApplication1{class... 阅读全文
posted @ 2014-10-30 19:10 vonly 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 现在来传一个图片看看, 改改程序, 看看服务端图片为 140K, 1.jgp1. 服务端1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;... 阅读全文
posted @ 2014-10-30 19:09 vonly 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 1. 服务端程序1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Text;4usingSystem.Net.Sockets;5usingSystem.Net;67namespaceConsoleApplication18{9cla... 阅读全文
posted @ 2014-10-30 19:08 vonly 阅读(227) 评论(0) 推荐(0) 编辑
摘要: StructLayout特性StructLayout特性公共语言运行库利用StructLayoutAttribute控制类或结构的数据字段在托管内存中的物理布局,即类或结构需要按某种方式排列。如果要将类传递给需要指定布局的非托管代码,则显式控制类布局是重要的。它的构造函数中用 LayoutKind值... 阅读全文
posted @ 2014-10-30 19:06 vonly 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 以下技巧并不是必须的,但是对于想要提升游戏性能的人来说应该还是很不错的。优化的常规技巧n剖析你的游戏。不要花费时间来优化那些晦涩的代码或者缩减图形文件的大小,除非这是你游戏的瓶颈。第一次剖析你的游戏将会使你发现你游戏的瓶颈。Apple'sShark是一个很好的用来剖析基于OpenGL的程序的工具。n... 阅读全文
posted @ 2014-05-09 17:09 vonly 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 1 .fixed-top{position:fixed;bottom:auto;top:0px;} 2 .fixed-bottom{position:fixed;bottom:0px;top:auto;} 3 .fixed-left{position:fixed;right:auto;left:0... 阅读全文
posted @ 2013-05-02 15:29 vonly 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页