资源简介
一套完整的UnityUI框架、可用于实际开发。经过本人开发的考验
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace CEngine
{
public class AppSetting
{
public static int appId = 100;
public static Platform platform = Platform.UNITY_EDITOR;
private static string downloadurl;
public static bool isRemote
{
get { return ConfigManager.instance.GetBoolValue(“isRemote“); }
}
public static bool localLua
{
get { return ConfigManager.instance.GetBoolValue(“localLua“); }
}
///
/// 子游戏名称
///
public static string chessName
{
get { return ConfigManager.instance.GetValue(AppSetting.appId.ToString()); }
}
public static string vercachePath
{
get
{
if (Application.isPlaying && isRemote)
return downloadurl;
return localDataPath; //Application.streamingAssetsPath;
}
set
{
downloadurl = value;
}
}
public static string rootPath
{
get
{
if (isRemote)
return persistentDataPath;
return localDataPath;
}
}
public static string persistentDataPath
{
get
{
string perDataPath = null;
if (appId == 100)
perDataPath = Application.persistentDataPath;
else
perDataPath = System.IO.Path.Combine(System.IO.Path.Combine(Application.persistentDataPath “Chess“) ConfigManager.instance.GetValue(appId.ToString()));
return perDataPath;
}
}
public static string localDataPath
{
get
{
string rootpath = System.IO.Path.GetDirectoryName(Application.dataPath);
string localpath = System.IO.Path.Combine(System.IO.Path.GetDirectoryName(rootpath) “LocalData“);
string outpath = null;
if (appId == 100)
outpath = localpath;
else
outpath = System.IO.Path.Combine(System.IO.Path.Combine(localpath “Chess“) ConfigManager.instance.GetValue(appId.ToString()));
return outpath;
}
}
}
public enum Platform
{
UNITY_EDITOR = 0
UNITY_STANDALONE_WIN
UNITY_ANDROID
UNITY_IPHONE
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 13312 2018-01-30 15:42 CEngine20180102\.vs\CEngine\v15\.suo
文件 2734 2017-12-14 13:12 CEngine20180102\AppSetting.cs
文件 65536 2018-01-11 11:18 CEngine20180102\bin\Debug\CEngine.dll
文件 204288 2018-01-11 11:18 CEngine20180102\bin\Debug\CEngine.pdb
文件 11140 2018-01-11 11:18 CEngine20180102\bin\Debug\CEngine.xm
文件 1541120 2017-05-08 20:50 CEngine20180102\bin\Debug\UnityEngine.dll
文件 248832 2017-05-08 20:06 CEngine20180102\bin\Debug\UnityEngine.UI.dll
文件 245582 2017-05-08 20:51 CEngine20180102\bin\Debug\UnityEngine.UI.xm
文件 2702449 2017-05-08 20:51 CEngine20180102\bin\Debug\UnityEngine.xm
文件 4701 2017-12-25 20:04 CEngine20180102\CEngine.csproj
文件 922 2017-12-16 17:15 CEngine20180102\Launcher.cs
文件 13444 2017-12-12 18:08 CEngine20180102\Modules\ResourceModule\AssetBundleLoad.cs
文件 2979 2017-12-20 09:51 CEngine20180102\Modules\ResourceModule\CacheModule\AssetBundleCache.cs
文件 2683 2017-12-13 11:20 CEngine20180102\Modules\ResourceModule\CacheModule\Caches.cs
文件 2134 2017-12-12 13:26 CEngine20180102\Modules\ResourceModule\CacheModule\Gameob
文件 1890 2017-12-13 10:29 CEngine20180102\Modules\ResourceModule\CacheModule\Pools.cs
文件 1597 2017-12-20 09:49 CEngine20180102\Modules\ResourceModule\CacheModule\SoundCache.cs
文件 1444 2017-12-20 09:51 CEngine20180102\Modules\ResourceModule\CacheModule\SpriteCache.cs
文件 1388 2017-12-12 13:26 CEngine20180102\Modules\ResourceModule\CacheModule\TextureCache.cs
文件 3299 2017-12-13 15:27 CEngine20180102\Modules\ResourceModule\ResourceLoad.cs
文件 8496 2017-12-20 09:49 CEngine20180102\Modules\ResourceModule\ResourceManager.cs
文件 2764 2017-12-12 13:28 CEngine20180102\Modules\ResourceModule\TaskEntity\fr
文件 2837 2017-12-12 13:25 CEngine20180102\Modules\ResourceModule\TaskEntity\ITask.cs
文件 5428 2017-12-12 13:25 CEngine20180102\Modules\ResourceModule\TaskEntity\ThreadTask.cs
文件 4071 2017-12-13 13:50 CEngine20180102\Modules\ResourceModule\TaskEntity\WWWTask.cs
文件 9982 2017-12-23 09:35 CEngine20180102\Modules\SettingModule\SettingParser.cs
文件 577 2017-12-13 18:01 CEngine20180102\Modules\UIModule\Enums.cs
文件 5407 2017-12-20 09:48 CEngine20180102\Modules\UIModule\UILoader.cs
文件 11877 2017-12-20 10:05 CEngine20180102\Modules\UIModule\UIManager.cs
文件 15638 2017-12-20 09:47 CEngine20180102\Modules\UIModule\UIMould.cs
............此处省略45个文件信息
- 上一篇:2016年全国城市省市县区行政级别对照表
- 下一篇:用Kinect控制PPT
相关资源
- Arduino nano 工程文件
- Arduino教程 Lesson 之--自制风扇
- unity4.0官方正式版
- The Research on Smart Drill-in Fluid Design
- regexBuilder 正则表达式自动生成器
- CUID卡完全汉化版
- FUID、CUID写卡程序
-
Hollow fibre ba
sed Liquid-liquid-liquid mic - PowerBuilder安装包及教程大礼包
- Experimental investigation of the phase equili
- 基于Arduino的智能环境监控系统设计
- 基于Arduino和Machtalk的温棚环境监测系
- easygui手册
- swift-模仿类似聊天的UI
- duilib webkit内核浏览器控件
- mingw-w64-build-3.6.7
- 屏幕录像专家 V2011 build 0626(1226)+
- Cyclic Voltammetry and Thermodynamic Propertie
- 英文原版-Certified Ethical Hacker CEH Foun
- Guide to Reliable Distributed Systems
- 腾保数据RDX QuikStor 灵动存儲 - 耐用
- 腾保数据RDX QuikStor移动式磁带机
- Behavior Designer 1.6.3(u2018.3.0).unitypa
- Unity纪念碑谷.rar
- A Pathfinding Project Pro v4.2.2.rar
- A discrete fruit fly optimization algorithm fo
- 关于Vue组件库开发详析
- Unity 声音播放插件,支持将字符串转
- Gaia 1.7.2
- Channel waveguides fabrication in bulk Lithium
评论
共有 条评论