摘要:
public class L2 : MonoBehaviour { // Start is called before the first frame update void Start() { //设置纹理类型主要是为了指明图片是用于哪项工作的 //相关参数 //Default - Alpha S 阅读全文
摘要:
public class L5Test:IXmlSerializable { public int test1; //引用类型的数据不初始化的话默认为空,序列化时就不会存储该数据 public string test2; //返回结构 public XmlSchema GetSchema() { / 阅读全文
摘要:
public class L4 : MonoBehaviour { // Start is called before the first frame update void Start() { string path = Application.persistentDataPath + "/Tes 阅读全文
摘要:
public class Test { public int testpublic = 10; private int testPrivate = 11; protected int testProtected = 12; internal int testInternal = 13; public 阅读全文
摘要:
public class L2 : MonoBehaviour { // Start is called before the first frame update void Start() { //决定存储的文件夹 //存储xml文件一定要存储在各平台都可读可写可找到的路径中 //1.Resour 阅读全文
摘要:
public class L1 : MonoBehaviour { // Start is called before the first frame update void Start() { //C#读取XML的方式有以下几种 //1.XmlDocument 把数据加载到内存中,方便读取 //2 阅读全文
摘要:
public class L19 : MonoBehaviour { // Start is called before the first frame update void Start() { //事件响应时播放音效 //PlaySound脚本 //控件和键盘按键绑定 //KeyBinding脚 阅读全文
摘要:
public class L18 : MonoBehaviour { // Start is called before the first frame update void Start() { //NGUI中显示3D模型 //方法1:用UI相机渲染3D模型 //1.把NGUI整体层级改为UI层 阅读全文