只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2015-09-18 10:58 softimagewht 阅读(25) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;public class setAnimationEvent : MonoBehaviour { public RuntimeAnimatorController m_runtimeAnimatorContr... 阅读全文
posted @ 2015-11-06 11:08 softimagewht 阅读(1796) 评论(0) 推荐(0) 编辑
摘要: 因为有不少人都问过我压缩格式的问题,今天飞哥又重新提醒了一次。整理一下发个贴,以供大家查阅和讨论。各种纹理格式,大家参照下U3D MANUAL里面的具体描述介绍,这是官方的东西。但我觉得有一部内容是错的,例如占用内存大小。http://docs.unity3d.com/Manual/class-Te... 阅读全文
posted @ 2015-09-14 15:34 softimagewht 阅读(578) 评论(0) 推荐(0) 编辑
摘要: http://bbs.9ria.com/thread-140497-1-1.html 阅读全文
posted @ 2015-09-11 10:40 softimagewht 阅读(363) 评论(0) 推荐(0) 编辑
摘要: Shader "Transparent/Diffuse DoubleSided" {Properties { _Color ("Main Color", Color) = (1,1,1,1) _MainTex ("Base (RGB) Trans (A)", 2D) = "white" {}}S... 阅读全文
posted @ 2015-08-22 18:39 softimagewht 阅读(608) 评论(0) 推荐(0) 编辑
摘要: uniform变量在vertex和fragment两者之间声明方式完全一样,则它可以在vertex和fragment共享使用。(相当于一个被vertex和fragment shader共享的全局变量)uniform变量一般用来表示:变换矩阵,材质,光照参数和颜色等信息。以下是例子:uniform m... 阅读全文
posted @ 2015-08-22 18:37 softimagewht 阅读(17651) 评论(0) 推荐(3) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2015-06-24 11:52 softimagewht 阅读(303) 评论(0) 推荐(0) 编辑
摘要: ArrayList a = new ArrayList();GameObject g = new GameObject("g");a.Add(g);GameObject[] go = (GameObject[])a.ToArray(typeof(GameObject)); 阅读全文
posted @ 2015-06-17 14:44 softimagewht 阅读(400) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/TankXiao/p/3348292.html 阅读全文
posted @ 2015-06-14 22:59 softimagewht 阅读(175) 评论(0) 推荐(0) 编辑
摘要: //服务端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.Net.Sockets;namespace learn{ c... 阅读全文
posted @ 2015-06-11 13:55 softimagewht 阅读(227) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/candycat1992/article/details/42127811写在前面这一篇是在Digital Tutors的一个系列教程的基础上总结扩展而得的~Digital Tutors是一个非常棒的教程网站,包含了多媒体领域很多方面的资料,非常酷!除此之外... 阅读全文
posted @ 2015-05-22 14:50 softimagewht 阅读(7296) 评论(0) 推荐(0) 编辑