Skip to content

Commit

Permalink
added custom TailName for bind tailRules
Browse files Browse the repository at this point in the history
  • Loading branch information
michael811125 committed Jul 1, 2023
1 parent a9856c5 commit 929ee74
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Assets/OxGFrame/CoreFrame/Scripts/Editor/BindCodeSetting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ public enum IndicateModifier
// TMP
{ "TmpTxt", "TMP_Text" },
{ "TmpDrd", "TMP_Dropdown" },
{ "TmpField", "TMP_InputField" }
{ "TmpField", "TMP_InputField" },

// Custom
{ "BtnPlus", "ButtonPlus"},
{ "NodePool", "NodePool"}
};

public string GetIndicateModifier()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{
private static readonly object _locker = new object();
private static T _instance = null;

public static T GetInstance()
{
if (_instance == null)
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ Init Order : OnInit (Once) > OnBind (Once) > OnPreShow (EveryOpen) > OnShow (Eve
| TmpTxt | TMP_Text |
| TmpDrd | TMP_Dropdown |
| TmpField | TMP_InputField |
| **Custom** |
| BtnPlus | ButtonPlus |
| NodePool | NodePool |

![](https://github.com/michael811125/OxGFrame/blob/master/Docs/gif_1.gif)

Expand Down

0 comments on commit 929ee74

Please sign in to comment.