Skip to content

Commit

Permalink
v0.0.15 release
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxiegame committed Jan 26, 2019
1 parent 590407e commit 8e8239d
Show file tree
Hide file tree
Showing 88 changed files with 2,708 additions and 9,348 deletions.

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions Assets/QFramework/Example/LibsExample/IOCExample/InjectExample.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace QFramework.Example
{
public class InjectExample : MonoBehaviour
{
[Inject] public A AObj;

// Use this for initialization
void Start()
{
var container = new QFrameworkContainer();
container.RegisterInstance(new A());
container.Inject(this);

container.Resolve<A>().HelloWorld();
}


public class A
{
public void HelloWorld()
{
"This is A obj".LogInfo();
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Assets/QFramework/Example/PackageVersion.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"Version": "v0.0.40",
"Version": "v0.0.42",
"Type": 0,
"AccessRight": 0,
"DownloadUrl": null,
"InstallPath": "Assets/QFramework/Example/",
"Readme": {
"version": "v0.0.40",
"content": "support 5.6",
"version": "v0.0.42",
"content": "add IOC Example",
"author": "liangxie",
"date": "2019 年 01 月 2512:39"
"date": "2019 年 01 月 2618:32"
},
"Name": "Example",
"VersionNumber": 40,
"FileName": "Example_v0.0.40.unitypackage"
"VersionNumber": 42,
"FileName": "Example_v0.0.42.unitypackage"
}
12 changes: 6 additions & 6 deletions Assets/QFramework/Framework/0.Core/PackageVersion.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"Version": "v0.0.5",
"Version": "v0.1.0",
"Type": 0,
"AccessRight": 0,
"DownloadUrl": null,
"InstallPath": "Assets/QFramework/Framework/0.Core/",
"Readme": {
"version": "v0.0.5",
"content": "support 5.6",
"version": "v0.1.0",
"content": "import uFrame's IOC Solution",
"author": "liangxie",
"date": "2019 年 01 月 2512:40"
"date": "2019 年 01 月 2618:27"
},
"Name": "0.Core",
"VersionNumber": 5,
"FileName": "0.Core_v0.0.5.unitypackage"
"VersionNumber": 100,
"FileName": "0.Core_v0.1.0.unitypackage"
}
21 changes: 0 additions & 21 deletions Assets/QFramework/Framework/0.Core/Plugins/CatLib.Core/LICENSE

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8e8239d

Please sign in to comment.