![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Unity3d
就叫江南
这个作者很懒,什么都没留下…
展开
-
NGUI动态添加
1 动态添加sprite 因为暂时未解决在脚本中动态指定atlas,所以,目前动态添加的sprite需要手动指定 public UIAtlas at; // Use this for initialization void Start () { test(); } void test() { GameObject a = GameObject.Find("Panel");原创 2012-06-04 22:55:47 · 10975 阅读 · 3 评论 -
NGUI 动态添加(改)
http://blog.csdn.net/li5414/article/details/7632474 前文提到的无法脚本制定atlas已经搞定了 GameObject parent = GameObject.Find("需要添加到的父物体的名称"); atlas = (UIAtlas)Resources.Load("Atlas图集名称",typeo原创 2012-06-06 12:17:36 · 7289 阅读 · 0 评论 -
Unity3d ios设备的cache问题
上面要求研究一下resource.load 和www 方式加载资源的区别,分别保存在哪里,是否适合ios设备 resource.load 所有资源都是加载在游戏中的,也就是说是打包在生成的app中的 www 资源本身一般是放在服务器上的,然后在游戏中通过www方式加载,之后保存在指定目录下面,当然,也可以放在本地,然后用www file协议加载. 需要解决的问题是如果不原创 2012-06-06 12:40:50 · 3249 阅读 · 0 评论 -
Unity3d xml操作类
using System; using UnityEngine; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; namespace Xml { public class JString { string v转载 2012-07-10 16:04:43 · 1397 阅读 · 0 评论 -
火炬之光资源提取
ogre mesh import+blender 导出fbx 动作都在,爽啊原创 2012-07-15 12:37:55 · 2499 阅读 · 0 评论 -
Unity3d NavMeshAgent 路径点寻路
using UnityEngine; using System.Collections; using System.Collections.Generic; public class MotoCtrl : MonoBehaviour { public NavMeshAgent moto; public ListTransform> targets; public int i原创 2013-01-07 16:53:34 · 4750 阅读 · 0 评论 -
Unity3d 小知识整理(持续更新)
1原创 2013-01-11 13:29:55 · 818 阅读 · 0 评论