OxGFrame Versions Save

The OxGFrame is a framework based on Unity for accelerating game development. Supports multi-platform Win, OSX, Android, iOS, WebGL.

v2.11.0

1 week ago

[2.11.0] -2024-05-12

  • Updated YooAsset commits.
  • Updated Scriptable Build Pipeline to v2.1.3 (Unity).
  • Added YooAsset can support RawFile encryption.
  • Added Hotfixer can new PackageInfoWithBuild to CheckHotfix method.
  • Optimized Support Hotfix to be loaded using other threads (WebGL is not supported).

v2.10.5

1 month ago

[2.10.5] -2024-04-17

  • Fixed SimpleDiskUtils compile error issue on WIN.

v2.10.4

1 month ago

[2.10.4] -2024-04-08

  • Removed UniTask from built-in.
    • Please use install via git URL instead (Package Manager)
https://github.com/Cysharp/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask

image

v2.10.3

1 month ago

[2.10.3] -2024-04-01

  • Added CacheType to AudioManager, which will be used for caching when AudioBase is using the request method.

image

image

image

  • Modified AudioBase to not rely on the methods of the OxGKit.Utilities' Requester.
  • Modified Acax encoding type (use UTF-8).

v2.10.2

1 month ago

[2.10.2] - 2024-03-19

  • Fixed When scene load with suspend (activateOnLoad = false) cannot return BundlePack correctly .
    // activateOnLoad = false (suspend)
    var bundlePack = await CoreFrames.USFrame.LoadAdditiveSceneAsync<BundlePack>("MyPackage", "SceneName", false, 100);
  • Added UnsuspendScene in BundlePack.
    // Method 1
    var bundlePack = await CoreFrames.USFrame.LoadAdditiveSceneAsync<BundlePack>("MyPackage", "SceneName", false, 100);
    bundlePack.GetOperationHandle<SceneHandle>().UnSuspend();
    
    // Method 2
    var bundlePack = await CoreFrames.USFrame.LoadAdditiveSceneAsync<BundlePack>("MyPackage", "SceneName", false, 100);
    bundlePack.UnsuspendScene();
  • Modified set #ROOTNAMESPACE# symbol in script templates.
  • Optimized remove useless interfaces.

v2.10.1

2 months ago

[2.10.1] - 2024-03-14

  • Fixed AudioBase and VideoBase to avoid executing Stop again in OnDestroy if they are being destroyed.
  • Added MediaLRUCache to handle least recently used audio or video will be removed (Optimize memory).
  • Added binding access modifier rules in BindCodeSetting, split by "$".
    • _Node@MyObj*Txt$public (UIBase, SRBase).
    • ~Node@MyObj*Txt$public (CPBase).
// Default is protected, no set required (depends on the first element in BindCodeSetting)
UIBase, SRBase:
_Node@MyObj*Txt
CPBase:
~Node@MyObj*Txt

// Assign access modifier
UIBase, SRBase:
_Node@MyObj*Txt$public
_Node@MyObj*Txt$private
CPBase:
~Node@MyObj*Txt$public
~Node@MyObj*Txt$private
  • Added binding attr rules in BindCodeSetting, pattern is "[]" (supported multi-attrs [][]...).
    • _Node@MyObj*Txt$public[hi] (UIBase, SRBase).
    • ~Node@MyObj*Txt$public[hi] (CPBase).
[hi] = [HideInInspector]
UIBase, SRBase:
_Node@MyObj*Txt$public[hi]
CPBase:
~Node@MyObj*Txt$public[hi]

[sf] = [SerializeField]
UIBase, SRBase:
_Node@MyObj*Txt[sf]
CPBase:
~Node@MyObj*Txt[sf]
img_19
  • Modified UIFrameDemo.
  • Modified SRFrameDemo.
  • Modified CPFrameDemo.

v2.10.0

2 months ago

[2.10.0] - 2024-03-07

  • Added BuiltinQueryMode option on PatchLauncher, can switch built-in query mode.
    public enum BuiltinQueryMode
    {
        WebRequest,
        BuiltinFileManifest,
        BuiltinFileManifestWithCRC
    }

image
image
image
image

Note: BuiltinFileManifest (built-in files list) also will generate on build (OnPreprocessBuild).


  • Added Auto save binding content to script for UIBase, SRBase, CPBase.
    // Specific pattern
    #region Binding Components
    #endregion

v2.9.16

2 months ago

[2.9.16] - 2024-02-20

  • Updated YooAsset commits.
  • Added InitPackage in AssetPatcher.
    /// <summary>
    /// Init package by type
    /// </summary>
    /// <param name="packageInfo"></param>
    /// <param name="autoUpdate"></param>
    /// <returns></returns>
    public static async UniTask<bool> InitPackage(PackageInfoWithBuild packageInfo, bool autoUpdate = false)
  • Modified PackageOperation initialize procedure by manual.
public class PackageOperation
{
    /// <summary>
    /// Ready operation for initialize (after events added)
    /// </summary>
    public void Ready()
}
  • Modified BundleDLCDemo sample. image

  • Modified SetDefaultPackage determine.

  • Removed unuse samples from DiskUtils.

v2.9.15

2 months ago

[2.9.15] - 2024-02-19

  • Updated UniTask to v2.5.3.
  • Added DriveUpdate methods in CPBase (can call update by other PlayerLoop).
    public void DriveUpdate(float dt) => this.HandleUpdate(dt);
    public void DriveFixedUpdate(float dt) => this.HandleFixedUpdate(dt);
    public void DriveLateUpdate(float dt) => this.HandleLateUpdate(dt);

v2.9.14

3 months ago

[2.9.14] - 2024-02-02

  • Modified PackageOperation user callback events, can reference itself in callback.
public class PackageOperation
{
    public delegate void OnPatchRepairFailed(PackageOperation itself);
    public delegate void OnPatchInitPatchModeFailed(PackageOperation itself);
    public delegate void OnPatchVersionUpdateFailed(PackageOperation itself);
    public delegate void OnPatchManifestUpdateFailed(PackageOperation itself);
    public delegate void OnPatchCheckDiskNotEnoughSpace(PackageOperation itself, int availableMegabytes, ulong patchTotalBytes);
    public delegate void OnPatchDownloadFailed(PackageOperation itself, string fileName, string error);
}

checkout v2.9.13