上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页

2015年3月14日

max导出模型插件

摘要: 首先,需要做好如下的准备工作:1. 安装一个完整版本的3D MAX与Visual Stdio。我安装的是3D MAX 2012,最好是找一个完整的版本,因为完整的版本中有很多的学习资料与sdk供学习,很省事。3D MAX的二次开发对VS的要求是有一个对应关系的,在SDK文档中可以找到,3D MAX ... 阅读全文

posted @ 2015-03-14 15:11 c_dragon 阅读(5625) 评论(0) 推荐(1) 编辑

2015年2月5日

鸡汤 -心灵 记录

摘要: 本文转自http://blog.csdn.net/yincheng01/article/details/5781840一个男人在外工作20年,终于要回家了,老板问他:你是要20年的工资还是要3句忠告?男人说我明天上路,明早给您答案好吗?老板说可以。当晚男人未眠…早晨,他对老板说:我要3个忠告。于是老... 阅读全文

posted @ 2015-02-05 15:18 c_dragon 阅读(244) 评论(0) 推荐(0) 编辑

2015年1月28日

UGUI 加载图片

摘要: 图片是动态加载的,然后转换为sprite赋值到ugui的按钮上代码如下using UnityEngine;using System.Collections;using System.IO;using UnityEngine.UI;public class UITexLoader : MonoBeha... 阅读全文

posted @ 2015-01-28 11:29 c_dragon 阅读(7761) 评论(0) 推荐(0) 编辑

2015年1月23日

u3d udp服务器

摘要: using UnityEngine;using System.Collections;using System.Net;using System.Net.Sockets;using System.Text;using System;using System.Threading;public clas... 阅读全文

posted @ 2015-01-23 14:03 c_dragon 阅读(2803) 评论(0) 推荐(0) 编辑

2014年11月21日

u3d加载加密和未加密

摘要: using UnityEngine;using System.Collections;public class loadnew : MonoBehaviour { public bool IsCompressed =false; public string filename; pr... 阅读全文

posted @ 2014-11-21 10:45 c_dragon 阅读(1013) 评论(2) 推荐(0) 编辑

2014年11月10日

unity3d 资源打包加密 整理

摘要: 资源打包脚本,放到Assets\Editor 文件夹下using UnityEngine;using System.Collections;using UnityEditor;using System.IO;public class assetPack : Editor{/*[MenuItem("C... 阅读全文

posted @ 2014-11-10 16:45 c_dragon 阅读(10518) 评论(0) 推荐(0) 编辑

2014年10月30日

unity3d Matrix4x4列为主序

摘要: unity3d的矩阵一直用,但是之前都是测试着用的,效果虽然正确,但是一直没搞清楚它是行矩阵还是列矩阵今天测试了下Matrix4x4 mat4 = Matrix4x4.Perspective(30,1.0f,3,30); Vector4 row1 = mat4.GetRow(0); ... 阅读全文

posted @ 2014-10-30 11:29 c_dragon 阅读(2333) 评论(0) 推荐(0) 编辑

2014年10月27日

unity3d 使用GL 方式画线

摘要: 这个是画线部分private Vector3[] linePoints; public int m_LineCount; public int m_PointUsed; public void RenderPath() { GL.Begin(GL.LI... 阅读全文

posted @ 2014-10-27 17:40 c_dragon 阅读(18356) 评论(0) 推荐(0) 编辑

2014年10月15日

u3d DontDestroyOnLoad多场景问题

摘要: using UnityEngine;using System.Collections;public class DontDel : MonoBehaviour{ public GameObject temp; private static bool m_IsHaveOne =false;... 阅读全文

posted @ 2014-10-15 11:55 c_dragon 阅读(2203) 评论(0) 推荐(0) 编辑

u3d静态函数

摘要: using UnityEngine;using System.Collections;public class Manager : MonoBehaviour{ private static Manager m_Instance; public static Manager insta... 阅读全文

posted @ 2014-10-15 11:17 c_dragon 阅读(944) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页

导航