forked from chiuan/TTUIFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add: async ui support. and async load delegate & sync delegate bind.
- add: async show ui support.(need check) - mod: simplify some function \ values and enum.
- Loading branch information
chiuan
committed
Sep 22, 2015
1 parent
6008001
commit 915def2
Showing
7 changed files
with
257 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace TinyTeam.UI | ||
{ | ||
using UnityEngine; | ||
using System.Collections; | ||
|
||
/// <summary> | ||
/// Bind Some Delegate Func For Yours. | ||
/// </summary> | ||
public class TTUIBind : MonoBehaviour | ||
{ | ||
static bool isBind = false; | ||
|
||
public static void Bind() | ||
{ | ||
if (!isBind) | ||
{ | ||
isBind = true; | ||
//Debug.LogWarning("Bind For UI Framework."); | ||
|
||
//bind for your loader api to load UI. | ||
TTUIPage.delegateSyncLoadUI = Resources.Load; | ||
//TTUIPage.delegateAsyncLoadUI = | ||
|
||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.