上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: using UnityEngine;using System.Collections; public class GameLoad : MonoBehaviour { public GameObject magicianPrefab; public GameObject swordmanPrefab 阅读全文
posted @ 2016-06-25 09:17 Fei非非 阅读(426) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections; public class CharacterCreation : MonoBehaviour { public GameObject[] characterPrefabs; public UIInput name 阅读全文
posted @ 2016-06-25 09:15 Fei非非 阅读(308) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using UnityEditor;/// <summary>/// 本脚本用来打包场景/// </summary>public class Assetbundle : MonoBehaviour{ //分开打包 阅读全文
posted @ 2016-06-24 18:28 Fei非非 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 已知有一个XML文件(bookstore.xml)如下: <?xml version="1.0" encoding="gb2312"?> Oberon's Legacy Corets, Eva 5.95 1、往节点中插入一个节点: XmlDocument xmlDoc=new XmlDocument 阅读全文
posted @ 2016-06-24 18:26 Fei非非 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 如果你是在IOS平台,强烈建议把PlayerSetting里面的Script Call Optimization设置成Slow and Safe,这样比如遇到空指针 或者 数组越界这样的错误,程序是不会直接闪退的。(Android上不用设置)这里我创造一个数组越界的错误。 void Start () 阅读全文
posted @ 2016-06-24 18:24 Fei非非 阅读(172) 评论(0) 推荐(0) 编辑
摘要: xml <Image> <Resourses name="image" url="aaaaaa" > <Image1>image1|http://192.168.0.98/MyItems/TankCard/Image1.jpg</Image1> </Resourses></Image> using 阅读全文
posted @ 2016-06-24 15:33 Fei非非 阅读(208) 评论(0) 推荐(0) 编辑
摘要: //从服务器下载IMG资源 private IEnumerator DownLoadToLocalIMG(string url, string strname) { Debug.Log("从服务器下载资源img:" + strname); //url编码 WWW.EscapeURL(url); // 阅读全文
posted @ 2016-06-24 10:21 Fei非非 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.Collections.Generic;using System.Xml;using UnityEngine.UI;using System.IO;using System.Text;pu 阅读全文
posted @ 2016-06-24 10:19 Fei非非 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 创建数据库1、新建连接(连接名,数据库路径和文件名) ddl (结构定义 CREATE ALTER DROP)dml(数据操作 INSERT DELETE UPDATE SELECT) 创建表create table修改表alter table —删除表DROP table t_cjb --插入数据 阅读全文
posted @ 2016-06-24 09:41 Fei非非 阅读(453) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.IO;/// <summary>/// Move file./// 移动文件,/// </summary>public class MoveFile : MonoBehaviour { / 阅读全文
posted @ 2016-06-24 09:40 Fei非非 阅读(250) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页