Skip to content

Releases: michael811125/OxGFrame

Release v2.12.3

27 Dec 10:54
Compare
Choose a tag to compare

[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

11 Nov 07:56
Compare
Choose a tag to compare

[2.12.2] - 2024-11-11

  • Updated UniEvent of UniFramework.
  • Added constructors in EncryptionServices (Editor).

Release v2.12.1

07 Nov 17:52
Compare
Choose a tag to compare

[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.

image

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

24 Oct 06:21
Compare
Choose a tag to compare

[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

17 Oct 13:51
Compare
Choose a tag to compare

[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

15 Oct 15:24
Compare
Choose a tag to compare

Net 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.

Release v2.11.10

08 Oct 10:34
Compare
Choose a tag to compare

[2.11.10] - 2024-10-08

  • Added CoreFrames.USFrame.GetActiveScene() method.
  • Added CoreFrames.USFrame.SetActiveScene(int index) method.
  • Added CoreFrames.USFrame.SetActiveScene(string sceneName) method.
  • Added CoreFrames.USFrame.SetActiveScene(Scene scene) method.

Release v2.11.9

06 Sep 14:28
Compare
Choose a tag to compare

[2.11.9] - 2024-09-06

  • Added CoreFrames.SRFrame.HideAllAndExcluded() method.
  • Added CoreFrames.UIFrame.HideAllAndExcluded() method.
  • Added CoreFrames.SRFrame.CloseAllAndExcluded() method.
  • Added CoreFrames.UIFrame.CloseAllAndExcluded() method.
  • Added CoreFrames.UIFrame.SetupAndCheckUICanvas() method.
  • Added Bundle url set plan editor.
  • Added Media url set plan editor.
  • Fixed UIManager dict check issue.

image

Release v2.11.8

12 Aug 02:50
Compare
Choose a tag to compare

[2.11.8] - 2024-08-10

  • Added Reset method in Hotfixers.
  • Modified nnId byte to int (NetFrame).
  • Fixed DiskUtils using bug issue.

Release v2.11.7

30 Jul 09:49
Compare
Choose a tag to compare

[2.11.7] - 2024-07-30

  • Added method AssetPatcher.GetPlatform.
  • Modified patchconfig.json include packageVersionEncoded info (just for comparison).
  • Fixed AssetPatcher -> GetAppVersion, GetPatchVersion return default value for simulate mode.