摘要: 注:首先在Plugins文件夹下面引入三个dll文件mono.data.sqlite System.Data sqlite3 /***************************************/using UnityEngine;using System.Collections;usi 阅读全文
posted @ 2016-10-19 20:09 无畏先锋 阅读(513) 评论(0) 推荐(0) 编辑
摘要: static 和const修饰的变量都是静态变量; static readonly 修饰的变量是只读的 只能在定义变量的时候和静态构造方法里面给其赋值 class Weapon { public static readonly Weapon Instance; static Weapon() { I 阅读全文
posted @ 2016-10-19 15:04 无畏先锋 阅读(113) 评论(0) 推荐(0) 编辑