Skip to content

lingbaoer/QFramework

This branch is 755 commits ahead of, 259 commits behind liangxiegame/QFramework:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3c1cfb7 · Oct 11, 2018
Oct 11, 2018
Jul 5, 2018
Sep 1, 2018
Jan 13, 2018
Oct 2, 2018
Feb 4, 2018
May 21, 2018
Feb 7, 2018
Feb 26, 2018
Oct 11, 2018
Oct 11, 2018
Sep 28, 2018
Sep 28, 2018
Aug 4, 2018
Feb 11, 2018
Feb 7, 2018
Feb 8, 2018
Jul 8, 2018
Jul 5, 2018

Repository files navigation

Documentation Status Build Status Coverage Status

我们团队做的每一件事情,都是为了给开发者带来更好的开发体验,提高效率,减少加班。我们尽心应该以不同的方式思考。我们挑战现状的方式是通过把我们的框架打磨得十分精美,原理简单,新手友好,但不失强大。我们只是在这个过程中做出了优雅的 QFramework。想了解下嘛?

QFramework 简介 Intro

QFramework 是一套 渐进式快速开发 框架。目标是作为无框架经验的公司、独立开发者、以及 Unity3D 初学者们的 第一套框架。框架内部积累了多个项目的在各个技术方向的解决方案。学习成本低,接入成本低,重构成本低,二次开发成本低,文档内容丰富(提供使用方式以及原理、开发文档)。github:https://github.com/liangxiegame/QFramework

QFramework is a Progressive and RAD framework.Goal is become indie developer and fresh man's The First Framework。It's include many project's tech solution.Easy 2 Learn,Easy 2 Install,Easy 2 Refactor,Easy 2 Modify,Feature Packed documents. github:https://github.com/liangxiegame/QFramework

快速开始 QuickStart:

1.Action Kit

  • chainning style(Driven by MonoBehaviour or Update)
this.Sequence()
	.Delay(1.0f)
	.Event(()=>Log.I("Delayed 1 second"))
	.Until(()=>something is done)
	.Begin();
  • object oriented style
var sequenceNode = new SequenceNode();
sequenceNode.Append(DelayAction.Allocate(1.0f));
sequenceNode.Append(EventAction.Allocate(()=>Log.I("Delayed 1 second"));
sequenceNode.Append(UntilAction.Allocate(()=>something is true));

this.ExecuteNode(sequenceNode);

2.Res Kit

// allocate a loader when initialize a panel or a monobehavour
var loader = ResLoader.Allocate();

// load someth in a panel or a monobehaviour
loader.LoadSync<GameObject>("Resources/smobj");

loader.LoadSync<Texture2D>("Resources/Bg");

// load by asset bundle's assetName
loader.LoadSync<Texture2D>("HomeBg");

// load by asset bundle name and assetName
loader.LoadSync<Texture2D>("home","HomeBg");


// resycle this panel/monobehaivour's loaded res when destroyed 
loader.Recycle2Cache();
loader = null;

3.UI Kit

// open a panel from assetBundle
UIMgr.OpenPanel<UIMainPanel>();

// load a panel from specified Resources
UIMgr.OpenPanel<UIMainPanel>(prefabName:"Resources/UIMainPanel");

// load a panel from specield assetName
UIMgr.OpenPanel<UIMainPanel>(prefabName:"UIMainPanel1");

技术支持 Tech Support:

  • 文档 Document
  • 如在使用中遇到问题请提交 这里 issue,我们团队会在一天内快速回复并着手解决。
  • QQ群:623597263 (群内有福利哦~)
  • 不想进群的同学也可以在 这里 gitter 进行讨论

下载地址 Download:

教程 Tutorial (Chinese)

赞助 Donate:

  • 如果觉得不错可以在 这里 Asset Store 给个 5 星哦~ give 5 star
  • 或者给此仓库一个小小的 Star~ star this repository
  • 以上这些都会转化成我们的动力,提供更好的技术服务!

运行环境

  • Unity 5.5.x ~ 2018.x

包含项目 Include Projects:

参考 Reference:

贡献者/感谢 Developer/Contributor:

代码规范完全遵循:

QCSharpStyleGuide

About

Your first K.I.S.S Unity 3D Framework.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 98.5%
  • HLSL 1.2%
  • Other 0.3%