Unity 工具类 之 简单的 MVC 框架使用实现简单的案例demo

上传者: u014361280 | 上传时间: 2021-06-11 19:23:05 | 文件大小: 22KB | 文件类型: RAR
Unity 工具类 之 简单的 MVC 框架使用实现简单的案例demo
1、单例类,保证整个场景中只有一个类管理相关类;
2、MVC 每个 每个独立成快,又有简单的联系;
3、MVC 框架简单如下图;
4、换种形式的 MVC 业务流程
5、MVC全名是Model View Controller,是模型(model)-视图(view)-控制器(controller)的缩写,一种软件设计典范,用一种业务逻辑、数据、界面 显示分离的方法组织代码,将业务逻辑聚集到一个部件里面,在改进和个性化定制界面及用户交互的同时,不需要重新编写业务逻辑。MVC被独特的发展起来用于 映射传统的输入、处理和输出功能在一个逻辑的图形化用户界面的结构中
Model(模型)是应用程序中用于处理应用程序数据逻辑的部分。  通常模型对象负责在数据库中存取数据。
View(视图)是应用程序中处理数据显示的部分。  通常视图是依据模型数据创建的。
Controller(控制器)是应用程序中处理用户交互的部分。  通常控制器负责从视图读取数据,控制用户输入,并向模型发送数据。

文件下载

资源详情

[{"title":"( 33 个子文件 22KB ) Unity 工具类 之 简单的 MVC 框架使用实现简单的案例demo","children":[{"title":"ReadMe.txt <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"SimpleMVC","children":[{"title":"Assets","children":[{"title":"Scenes","children":[{"title":"SampleScene.unity <span style='color:#111;'> 29.62KB </span>","children":null,"spread":false},{"title":"SampleScene.unity.meta <span style='color:#111;'> 155B </span>","children":null,"spread":false}],"spread":true},{"title":"MVC.meta <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"Scenes.meta <span style='color:#111;'> 172B </span>","children":null,"spread":false},{"title":"MVC","children":[{"title":"PlayerMsgController.cs <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"PlayerMsgModel.cs <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"PlayerMsgModel.cs.meta <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"MonoSingleton.cs.meta <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"Singleton.cs.meta <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"PlayerMsgView.cs <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"Singleton.cs <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"PlayerMsgController.cs.meta <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"PlayerMsgView.cs.meta <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"MonoSingleton.cs <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"ProjectSettings","children":[{"title":"Physics2DSettings.asset <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"ProjectSettings.asset <span style='color:#111;'> 17.56KB </span>","children":null,"spread":false},{"title":"TagManager.asset <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"DynamicsManager.asset <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"NavMeshAreas.asset <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"EditorBuildSettings.asset <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"InputManager.asset <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"QualitySettings.asset <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"EditorSettings.asset <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"GraphicsSettings.asset <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"VFXManager.asset <span style='color:#111;'> 273B </span>","children":null,"spread":false},{"title":"ProjectVersion.txt <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"AudioManager.asset <span style='color:#111;'> 377B </span>","children":null,"spread":false},{"title":"PresetManager.asset <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"NetworkManager.asset <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"TimeManager.asset <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"UnityConnectSettings.asset <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":"ClusterInputManager.asset <span style='color:#111;'> 120B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明