Skip to content

Commit

Permalink
1、The UGUI controls have been split from Loxodon.Framework.TextFormat…
Browse files Browse the repository at this point in the history
…ting and made into a standalone plugin called Loxodon.Framework.TextUGUI.

2、Optimized the code of Loxodon.Framework.TextFormatting.
3、Fixed a bug in the DateTimeFormat class.
  • Loading branch information
vovgou committed Jun 4, 2024
1 parent adce0a9 commit d257f95
Show file tree
Hide file tree
Showing 152 changed files with 5,341 additions and 1,460 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-addressable",
"displayName": "Loxodon Framework Addressable",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin that uses Unity's addressable asset system to load resources.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-connection",
"displayName": "Loxodon Framework Connection",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a network component, using TCP protocol to connect to the server by default.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-data-litedb",
"displayName": "Loxodon Framework Data LiteDB",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "LoxodonFramework is a lightweight MVVM(Model-View-ViewModel) framework built specifically to target Unity3D. Databinding and localization are supported.It has a very flexible extensibility.It makes your game development faster and easier.\n\nFor tutorials,examples and support,please see the project.You can also discuss the project in the Unity Forums.\n\nThe plugin is compatible with MacOSX,Windows,Linux,UWP,IOS and Android,and provides all the source code of the project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-data-newtonsoft",
"displayName": "Loxodon Framework Data Newtonsoft.JSON",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "LoxodonFramework is a lightweight MVVM(Model-View-ViewModel) framework built specifically to target Unity3D. Databinding and localization are supported.It has a very flexible extensibility.It makes your game development faster and easier.\n\nFor tutorials,examples and support,please see the project.You can also discuss the project in the Unity Forums.\n\nThe plugin is compatible with MacOSX,Windows,Linux,UWP,IOS and Android,and provides all the source code of the project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-data",
"displayName": "Loxodon Framework Data",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "LoxodonFramework is a lightweight MVVM(Model-View-ViewModel) framework built specifically to target Unity3D. Databinding and localization are supported.It has a very flexible extensibility.It makes your game development faster and easier.\n\nFor tutorials,examples and support,please see the project.You can also discuss the project in the Unity Forums.\n\nThe plugin is compatible with MacOSX,Windows,Linux,UWP,IOS and Android,and provides all the source code of the project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-fgui",
"displayName": "Loxodon Framework FairyGUI",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-fody-bindingproxy",
"displayName": "Loxodon Framework Fody BindingProxy",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for static weaving code that integrates BindingProxy.Fody into a Unity project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-fody-propertychanged",
"displayName": "Loxodon Framework Fody PropertyChanged",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for static weaving code that integrates PropertyChanged.Fody into a Unity project, it can inject code which raises the PropertyChanged event into property setters of classes which implement INotifyPropertyChanged.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-fody-tostring",
"displayName": "Loxodon Framework Fody ToString",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for static weaving code that integrates ToString.Fody into a Unity project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-fody",
"displayName": "Loxodon Framework Fody",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for static weaving code that integrates Fody into a Unity project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-ilruntime",
"displayName": "Loxodon Framework ILRuntime",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "ILRuntime",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-localization-csv",
"displayName": "Loxodon Framework Localization CSV",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for the Loxodon.Framework, which supports reading localized resources from csv files.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-log4net",
"displayName": "Loxodon Framework Log4Net",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for the logging feature of Loxodon.Framework, which helps you use Log4Net in your Unity project.",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-nlog",
"displayName": "Loxodon Framework NLog",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a plugin for the logging feature of Loxodon.Framework, which helps you use NLog in your Unity project.",
"license": "MIT",
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,7 @@ MonoBehaviour:
Culture=neutral, PublicKeyToken=null
OnRefreshWithSign:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: OnPullReleased
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_Calls: []
m_TypeName: Com.TheFallenGames.OSA.Util.PullToRefresh.PullToRefreshBehaviour+UnityEventFloat,
OSA, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
OnPullProgress:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

using Com.TheFallenGames.OSA.Demos.Common;
using Com.TheFallenGames.OSA.Util.PullToRefresh;
using Loxodon.Framework.Binding;
using Loxodon.Framework.Commands;
using Loxodon.Framework.Contexts;
Expand Down Expand Up @@ -123,6 +124,23 @@ public void ResetItem()
items.Clear();
}

public void RefreshItems(float sign)
{
for (int i = 0; i < 2; i++)
{
if (sign == -1)
{
//Add Item at the bottom
items.Add(CreateItem());
}
else
{
//Add Item at the top
items.Insert(i, CreateItem());
}
}
}

private void CreateItems(int count)
{
this.items = new ObservableList<ItemViewModel>();
Expand Down Expand Up @@ -168,6 +186,7 @@ private void Start()
bindingSet.Bind(moveButton).For(v => v.onClick).To(vm => vm.MoveItem);
bindingSet.Bind(resetButton).For(v => v.onClick).To(vm => vm.ResetItem);
bindingSet.Bind(listView).For(v => v.Items).To(vm => vm.Items);
bindingSet.Bind(listView.GetComponent<PullToRefreshBehaviour>()).For(v => v.OnRefreshWithSign).To<float>(vm => vm.RefreshItems);
bindingSet.Bind(itemDetailView).For(v => v.Item).To(vm => vm.SelectedItem);
//bindingSet.Bind().For(v => v.OnOpenItemEditView).To(vm => vm.ItemEditRequest);
bindingSet.Bind().For(v => v.editViewInteractionAction).To(vm => vm.ItemEditRequest);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-osa",
"displayName": "Loxodon Framework OSA",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "Loxodon Framework OSA",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,18 +226,7 @@ MonoBehaviour:
Culture=neutral, PublicKeyToken=null
OnRefreshWithSign:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_MethodName: OnPullReleased
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_Calls: []
m_TypeName: Com.TheFallenGames.OSA.Util.PullToRefresh.PullToRefreshBehaviour+UnityEventFloat,
OSA, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
OnPullProgress:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/

using Com.TheFallenGames.OSA.Demos.Common;
using Com.TheFallenGames.OSA.Util.PullToRefresh;
using Loxodon.Framework.Binding;
using Loxodon.Framework.Commands;
using Loxodon.Framework.Contexts;
Expand Down Expand Up @@ -123,6 +124,23 @@ public void ResetItem()
items.Clear();
}

public void RefreshItems(float sign)
{
for (int i = 0; i < 2; i++)
{
if (sign == -1)
{
//Add Item at the bottom
items.Add(CreateItem());
}
else
{
//Add Item at the top
items.Insert(i, CreateItem());
}
}
}

private void CreateItems(int count)
{
this.items = new ObservableList<ItemViewModel>();
Expand Down Expand Up @@ -168,6 +186,7 @@ private void Start()
bindingSet.Bind(moveButton).For(v => v.onClick).To(vm => vm.MoveItem);
bindingSet.Bind(resetButton).For(v => v.onClick).To(vm => vm.ResetItem);
bindingSet.Bind(listView).For(v => v.Items).To(vm => vm.Items);
bindingSet.Bind(listView.GetComponent<PullToRefreshBehaviour>()).For(v => v.OnRefreshWithSign).To<float>(vm => vm.RefreshItems);
bindingSet.Bind(itemDetailView).For(v => v.Item).To(vm => vm.SelectedItem);
//bindingSet.Bind().For(v => v.OnOpenItemEditView).To(vm => vm.ItemEditRequest);
bindingSet.Bind().For(v => v.editViewInteractionAction).To(vm => vm.ItemEditRequest);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.vovgou.loxodon-framework-obfuscation",
"displayName": "Loxodon Framework Obfuscation",
"version": "2.6.4",
"version": "2.6.5",
"unity": "2018.4",
"description": "This is a library that supports memory obfuscation of numeric types, it ensures that your sensitive data will not be found by the memory scanners and searchers.",
"license": "MIT",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit d257f95

Please sign in to comment.