Releases: TylerTemp/SaintsField
3.26.1 Bug Fix & Refactoring
- IMGUI: fix
Table
didn't update when size is changed externally - Fix
Table
drag and drop - Fix
ListDrawerSettings
drag and drop #127
Full Changelog: 3.26.0...3.26.1
![](https://private-user-images.githubusercontent.com/6391063/412379015-5a02df9e-5cff-4ed1-9cf2-2a900b781973.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzI1ODMsIm5iZiI6MTczOTM3MjI4MywicGF0aCI6Ii82MzkxMDYzLzQxMjM3OTAxNS01YTAyZGY5ZS01Y2ZmLTRlZDEtOWNmMi0yYTkwMGI3ODE5NzMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTQ1ODAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTA4N2QwYjI2MDA5ZjExNjAzODVmYWQ3NzY2YzY3MmQ2ZDNiY2Q3OWRhNjk4MWQ1MTY5ZmVjMzgyM2JiYjI0NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Ra7deQiDkfdN1OO4DJ48N6YlzDBJV7bCVWbpQzmYofI)
3.26.0 Optimize & Spine
-
Optimize auto getters. Some auto getters now will use Unity's built-in API first which is way faster than the
XPath
logic.They'll also only refresh the hitting resources when you have changes in project (rather than inside a fixed loop)
-
Add
SpineSkinPicker
to pick a spine skin from a spine skeleton. -
Improve auto getters how they find the scene for
scene::
selector. -
Fix
I2Loc
package compile error on build.
Full Changelog: 3.25.1...3.26.0
3.25.1 Optimize
- IMGUI:
LocalizedStringPicker
is now supported in IMGUI too. - (Experimental): Optimize auto getters. This feature is disabled by default. Add
SAINTSFIELD_AUTO_GETTER_RESOURCE_OPTIMIZE
to try. This feature will be enabled by default when it's stable.
Full Changelog: 3.25.0...3.25.1
3.25.0 I2 Localization Tools
- UI Toolkit: Add
LocalizedStringPicker
for I2 Localization. Enable it inWindow
-Saints
-Enable I2 Localization Support
- UI Toolkit: fix data didn't get saved if the fallback drawer is a IMGUI drawer
- UI Toolkit: fix
ResiziableTextArea
didn't update the display when the value is changed by external code. - UI Toolkit: fix
AdvancedDropdown
search might miss some results when multiple value uses the same last name. - UI Toolkit: now
AdvancedDropdown
support search for paths too (previously only support value search). This is only avaiable for UI Toolkit because IMGUI uses Unity's built-in version and lack of this ability. - UI Toolkit: now
AdvancedDropdown
search will display its parent path.
using SaintsField.I2Loc;
[LocalizedStringPicker] public LocalizedString displayNameTerm;
[LocalizedStringPicker] public string descriptionTerm;
Full Changelog: 3.24.0...3.25.0
3.24.0 Netcode for Game Objects Editor
Add SaintsField.Playa.SaintsNetworkBehaviour
to allow rendering Button
etc. inside Unity's Netcode for Game Objects behavior. #135
using SaintsField.Playa;
using Unity.Netcode;
using UnityEngine;
public class RpcTestSaints : SaintsNetworkBehaviour // inherent this one
{
[PlayaInfoBox("Saints Info Box for Array")] // SaintsEditor specific decorator
public int[] normalIntArrays;
[LayoutStart("SaintsLayout", ELayout.FoldoutBox)] // SaintsEditor specific decorator
public string normalString;
[ResizableTextArea]
public string content;
public NetworkVariable<int> testVar = new NetworkVariable<int>(0);
public NetworkList<bool> TestList = new NetworkList<bool>();
[Button] // SaintsEditor specific decorator
private void TestRpc()
{
Debug.Log("Button Invoked");
}
}
Result using SaintsNetworkBehaviour
:
Result using default one:
Full Changelog: 3.23.0...3.24.0
3.23.0 AddressableScene
- Add
AddressableScene
to pick a scene fromAddressable
assets - Move
Addressable
related function to a separatedasmdef
for a better code organization
[AddressableScene] public string sceneKey;
// don't use nested list when picking
// only use scenes from `Scenes` group
// with label `Battle`, or `Profile`
[AddressableScene(false, "Scenes", "Battle", "Profile")] public string sceneKeySep;
2.mp4
Full Changelog: 3.22.2...3.23.0
3.22.2 Bug Fix
- UI Toolkit: Fix
ListDrawerSettings
didn't update the total count when size is changed externally - UI Toolkit: Fix
ValidateInput
has debug log #134 - Improve the logic of
Troubleshoot
so it can detect method etc. - IMGUI: Fix
InfoBox
show extra space when hidden #126
Full Changelog: 3.22.1...3.22.2
3.22.1 Bug Fix
- Fix
ListDrawerSettings
can not detect a size change and update display #123 - Fix UI Toolkit code leak to IMGUI version #124
Full Changelog: 3.22.0...3.22.1
3.22.0 Table
- Add
Table
to show a list/array of class/struct/ScriptableObject
(orMonoBehavior
if you like) as a table - Add
Window/Saints/Troubleshoot
to quickly check why some attributes not working. - UI Toolkit: Fix
AdvancedDropdown
won't update the label when the value is changed externally. - Fix
SpineAnimationPicker
made the project unable to build.
using SaintsField;
[Table]
public Scriptable[] scriptableArray;
[Serializable]
public struct MyStruct
{
public int myInt;
public string myString;
public GameObject myObject;
}
[Table]
public MyStruct[] myStructs;
Unity_PWvi4zcomc.mp4
Full Changelog: 3.21.1...3.22.0
新年快乐,年前最后一版了 😄
3.21.1 Spine Animation for IMGUI
- IMGUI:
SpineAnimationPicker
is now supported in IMGUI too. - Modify the icon of
SpineAnimationPicker
to be more clear.
Full Changelog: 3.21.0...3.21.1
新年快乐 😃