会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SITT
class SITT {skill third_rate_art; skill third_rate_program; component madao;}sitt;
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
10
下一页
2019年12月20日
Unity输出文件在itunes读取
摘要: 编译出xcode工程后 Add the UIFileSharingEnabled key to your app’s Info.plist file, and set the value of the key to YES.
阅读全文
posted @ 2019-12-20 19:03 SITT
阅读(261)
评论(0)
推荐(0)
2018年4月17日
MaxScript调用DotNet时命名空间的问题
摘要: Fn GetSpecialFolder argEnumName = (DotNetClass "System.Environment").GetFolderPath (Execute ("(DotnetClass \"Environment+SpecialFolder\")." + argEnumName)) Fn GetSpecialFolderArgs = GetPropNames (...
阅读全文
posted @ 2018-04-17 10:47 SITT
阅读(653)
评论(0)
推荐(0)
2016年3月23日
max渲染通道元素的范例
摘要: 遇到有人问问题才会写这个啊,哈哈哈
阅读全文
posted @ 2016-03-23 10:42 SITT
阅读(966)
评论(0)
推荐(0)
2016年1月30日
Unity里vertexShader里压扁模型来实现比较low的阴影
摘要: 只有阴影pass,请自行合并,需要指定高度,忽略深度检测,需要控制好排序,或者去掉忽略,视情况而定,最后我觉得还是shadowmap好 Shader "Custom/MeshShadow" { Properties { _ShadowOffset("ShadowOffset",vector) = (
阅读全文
posted @ 2016-01-30 16:59 SITT
阅读(982)
评论(0)
推荐(0)
2015年12月3日
Unity实现一个morpher/blendShape
摘要: using UnityEngine;using System.Collections;[RequireComponent (typeof (MeshFilter))]public class BlendShape : MonoBehaviour{ public Mesh[] meshs; ...
阅读全文
posted @ 2015-12-03 10:34 SITT
阅读(1957)
评论(0)
推荐(0)
2015年10月22日
Unity获取object所有属性的一个方法,一些界面上没有开放的属性可以用该方法编辑
摘要: static void PrintProperty () { if(Selection.activeObject == null) return; SerializedObject so = new SerializedObject (Selection.a...
阅读全文
posted @ 2015-10-22 09:36 SITT
阅读(870)
评论(2)
推荐(0)
2015年10月21日
NGUI图集字体
摘要: UIFont里使用Symbols来指定字体时用Sprite前缀和名字自动分配的工具,前段时间工作需要时写的,具体用法有空时再写。using UnityEngine;using UnityEditor;using System.Collections.Generic;public class Pars...
阅读全文
posted @ 2015-10-21 17:07 SITT
阅读(535)
评论(0)
推荐(0)
2015年8月3日
Unity的Shader如何控制投影颜色
摘要: 细节慢慢补充,有几个需要注意的地方,必须要有接收投影的pass也就是Name是ShadowCollector的,必须添加#pragma multi_compile_fwdbase,物体的着色器必须有Tag 里面的 {"LightMode" = "ForwardBase"}。处理投影要在接收投影的物体...
阅读全文
posted @ 2015-08-03 14:59 SITT
阅读(6621)
评论(0)
推荐(0)
2015年7月20日
Unity运行时保存prefab的方法一则
摘要: unity编辑器在运行状态时,prefab的apply按钮就消失了,其实此时代码访问的话是有效的。代码如下,将会给transform的右键增加一个save prefab的选项。using UnityEngine;using UnityEditor;using System.Collections;s...
阅读全文
posted @ 2015-07-20 16:49 SITT
阅读(10442)
评论(0)
推荐(0)
2014年5月7日
C#扩展一个现有的类
摘要: 做个记录,写个示例using System;class Rubbish{ public void Say() { Console.Write("Hello"); }}static class RubbishExtensions{ public static...
阅读全文
posted @ 2014-05-07 12:36 SITT
阅读(762)
评论(0)
推荐(0)
1
2
3
4
5
···
10
下一页
公告