Releases: michael811125/OxGFrame
Releases · michael811125/OxGFrame
Release v2.13.1
[2.13.1] - 2025-01-09
- Fixed an issue with BindCodeAutoGenerateEditor where using ScriptableObject.CreateInstance caused an "InvalidCastException: Specified cast is not valid." in Unity 6.
Extra release Info 2.13.0 (It is necessary to check!!!)
Release v2.13.0
[2.13.0] - 2025-01-09
- Redefined ShowAnimation and HideAnimation methods in UIBase, marked as obsolete, and are no longer in use (must be replaced). Please replace them with OnShowAnimation and OnCloseAnimation for clearer method names.
Release v2.12.5
[2.12.5] - 2025-01-02
- Modified the default value of builtinQueryMode in PatchLauncher to BuiltinFileManifest. WebRequest will be deprecated in the future, so it is recommended to switch to BuiltinFileManifest.
- Optimized to reduce the FrameManager Update GC issue in CoreFrame.
- Optimized to accelerate the garbage collection efficiency of the Collector dictionary in FrameBase.
BTW, It is planned to upgrade to version 3.0.0 after the stable release of YooAsset 2.2.x. This will involve some API changes.
Release v2.12.4
[2.12.4] - 2024-12-30
- Fixed the issue with the condition triggering PackageEvents.PatchInitPatchModeFailed.SendEventMessage in PackageFsmStates.
Release v2.12.3
[2.12.3] - 2024-12-27
- Added HideSelf() method to FrameBase (SRBase, UIBase).
- Added to CoreFrames.SRFrame & CoreFrames.UIFrame:
- Can use CheckHasAnyHidingForAllGroups() to replace CheckHasAnyHiding(-1).
- Can use CloseAllForAllGroups() to replace CloseAll(-1).
- Can use CloseAllAndExcludedForAllGroups() to replace CloseAllAndExcluded(-1).
- Can use RevealAllForAllGroups() to replace RevealAll(-1).
- Can use HideAllForAllGroups() to replace HideAll(-1).
- Can use HideAllAndExcludedForAllGroups() to replace HideAllExcluded(-1).
- Modified access modifiers of certain methods.
- Modified CoreFrames.SRFrame & CoreFrames.UIFrame:
- Update the rules for CheckHasAnyHiding(). By default, groupId is set to 0, and -1 indicates that all groupIds should be processed.
- Fixed RevealAll not marking hidden as false.
Release v2.12.2
[2.12.2] - 2024-11-11
- Updated UniEvent of UniFramework.
- Added constructors in EncryptionServices (Editor).
Release v2.12.1
[2.12.1] - 2024-11-08
- Added MediaFrame (Audio, Video) with an option to specify a sourceClip, handled by the prefab container for playback.
// Audio
public static async UniTask<AudioBase> Play(string assetName, AudioClip sourceClip, Transform parent = null, int loops = 0, float volume = 0f)
public static async UniTask<AudioBase> Play(string packageName, string assetName, AudioClip sourceClip, Transform parent = null, int loops = 0, float volume = 0f)
// Video
public static async UniTask<VideoBase> Play(string assetName, VideoClip sourceClip, Transform parent = null, int loops = 0, float volume = 0f)
public static async UniTask<VideoBase> Play(string packageName, string assetName, VideoClip sourceClip, Transform parent = null, int loops = 0, float volume = 0f)
- Added CoreFrame binding parameters that will compare with the parent class's binding parameters and remove any overlapping parts.
TestAUI ↓↓↓
#region Binding Components
[HideInInspector] public GameObject a;
protected GameObject _b;
/// <summary>
/// Auto Binding Section
/// </summary>
protected override void OnAutoBind()
{
base.OnAutoBind();
this.a = this.collector.GetNode("A");
this._b = this.collector.GetNode("B");
}
#endregion
TestBUI : TestAUI ↓↓↓
#region Binding Components
protected ButtonPlus _cBtnPlus;
/// <summary>
/// Auto Binding Section
/// </summary>
protected override void OnAutoBind()
{
base.OnAutoBind();
this._cBtnPlus = this.collector.GetNodeComponent<ButtonPlus>("C*BtnPlus");
}
#endregion
TestCUI : TestBUI ↓↓↓
#region Binding Components
protected GameObject _d;
/// <summary>
/// Auto Binding Section
/// </summary>
protected override void OnAutoBind()
{
base.OnAutoBind();
this._d = this.collector.GetNode("D");
}
#endregion
- Added some methods to CoreFrames.USFrame.
public static Scene CreateScene(string sceneName, CreateSceneParameters parameters)
public static bool MergeScenes(Scene sourceScene, Scene targetScene)
public static bool MoveGameObjectToScene(GameObject go, Scene targetScene)
public static bool MoveGameObjectToActiveScene(GameObject go)
- Modified the CoreFrame Attrs binding format to a single-line format.
- Modified the configuration file’s default value from 127.0.0.1 to http://127.0.0.1.
- Fixed handling for MediaFrame when the clip is null.
- Fixed an issue in which the CoreFrame object returned Null when calling Show on an already showing object. It now returns the cached object instead.
Release v2.12.0
[2.12.0] - 2024-10-24 (rule changed)
- Modified CloseAll, HideAll, RevealAll rules of method for UIFrame and SRFrame.
- Set the default group id to 0, but if you don't want to execute based on the group id and want to do all, can set the group id to -1.
- ex: CloseAll(-1) do all without any group id.
- ex: HideAll(-1) do all without any group id.
- ex: RevealAll(-1) do all without any group id.
- Modified CloseAllAndExcluded and HideAllAndExcluded to support the withoutAssetNames param.
Release v2.11.12
[2.11.12] - 2024-10-17
- Optimized the bundle decryption memory allocation method to avoid allocating excessively large memory in a single ReadAllBytes operation.
Release v2.11.11
New Commit (79c73da)
- Fixed NetNode destructor determine.
[2.11.11] - 2024-10-15
- Added SkipToPercent method in VideoBase (You can use a percentage to jump to a specific segment of the video).
- Added SetPlaySpeed in VideoBase.
- Added CurrentRemainingLength in MediaBase.
- Fixed CurrentLength return value in MediaBase.