上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: nanoblock_mel();global proc nanoblock_mel(){if (`window -q -ex createNanoblockUI`)deleteUI createNanoblockUI; window -t "Nanoblock_工具" -w 200 -h 30... 阅读全文
posted @ 2014-11-16 14:48 古刹红罗 阅读(206) 评论(0) 推荐(0) 编辑
摘要: for i=1 to $.count do( deleteKeys $[i].pos.controller deleteKeys $[i].scale.controller) 阅读全文
posted @ 2014-08-19 19:31 古刹红罗 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 刚写程序时总觉得一个字段就能满足要求,何必要使用定义起来麻烦的属性要get、set的去定义,代码量还大,真不知道他们的区别和优点例:public class myclass{ public static string A private sting _B=""; public string Getv... 阅读全文
posted @ 2014-08-19 13:01 古刹红罗 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 首先要有个静态类 用来控制整个游戏的状态//**********************************//// Maggic @ ////**********************************//using UnityEngine;using System.Collec... 阅读全文
posted @ 2014-08-19 13:00 古刹红罗 阅读(150) 评论(0) 推荐(0) 编辑
摘要: sqrt(pow((X1-X2),2)+pow((Y1-Y2),2)+pow((Z1-Z2),2))/10floatX=pow ($BB.pos.x- $AA.pos.x) 2floatY=pow ($BB.pos.y- $AA.pos.y) 2floatZ=pow ($BB.pos.z- $AA.... 阅读全文
posted @ 2014-08-06 16:03 古刹红罗 阅读(203) 评论(0) 推荐(0) 编辑
摘要: skinOps.SelectBone $.modifiers[#Skin] 3选择骨骼列表中的第3个骨骼$.modifiers[#Skin]这个就是Skin节点skinOps.GetBoneName $.modifiers[#Skin] 1 0获取列表中第一个骨骼的名称skinOps.GetNumb... 阅读全文
posted @ 2014-05-27 14:43 古刹红罗 阅读(800) 评论(0) 推荐(0) 编辑
摘要: proc changeOtherList(){ textScrollList -e -da weightList; textScrollList -e -da weightList; textScrollList -e -da weightList; textScrollList -e -da we... 阅读全文
posted @ 2014-05-20 10:42 古刹红罗 阅读(249) 评论(0) 推荐(0) 编辑
摘要: string $sel[]=`ls -sl`;float $T[]=`xform -q -ws -t $sel[0]`;float $R[]=`xform -q -ws -ro $sel[0]`;if (`exists ($sel[0]+"_Con")`==0) {delete ($sel[0]+"... 阅读全文
posted @ 2014-05-19 16:08 古刹红罗 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 粒子系统是每个引擎都必须具备的,如果缺乏粒子系统,对于引擎将会带来重要影响。Unity3D的粒子系统也同样相当的强大,现将Unity3D粒子系统的部分属性做如下整理。Ellipsoid Particle EmitterMin / Max Size 每个粒子的半径大小随机范围;越大每个粒子就越大,整个... 阅读全文
posted @ 2014-04-22 10:15 古刹红罗 阅读(346) 评论(0) 推荐(0) 编辑
摘要: //特效代码,射线点击地面产生特效var moveThis : GameObject;var hit : RaycastHit;var createThis : GameObject[];var cooldown : float;var changeCooldown : float;var sele... 阅读全文
posted @ 2014-04-22 10:11 古刹红罗 阅读(263) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 9 下一页