Skip to content

Releases: liangxiegame/QFramework

v1.0.133

15 May 12:01
Compare
Choose a tag to compare

[CN]

  • ActionKit: 增加 IgnoreTimeScale API(秋濑 建议,已包含示例和文档)
  • Readme.md 补全作者
  • TabCustomCode 增加 misakiMeii 的声明

[EN]

  • ActionKit: Adding the IgnoreTimeScale API(suggested by Akise, examples and documentation included)
  • Readme.md complete the author
  • TabCustomCode adds misakiMeii declarations

Example:

using UnityEngine;

namespace QFramework.Example
{
    public class IgnoreTimeScaleExample : MonoBehaviour
    {
        private void Start()
        {
            Time.timeScale = 0.25f;
            ActionKit.Sequence()
                .Delay(3.0f)
                .Callback(() =>
                {
                    Debug.Log("Scaled Time:" + Time.time);
                    Debug.Log("Unscaled Time:" + Time.unscaledTime);
                })
                .Start(this)
                .IgnoreTimeScale();
        }
    }
}

Result 结果
// Scaled Time: 0.7585141
// Unscaled Time: 3.02394;

本次更新由 QFramework 教程年会员 赞助,
感谢各位支持
QFramework 教程年会员地址:(https://www.gamepixedu.com/goods/show/55)[https://www.gamepixedu.com/goods/show/55]]

v1.0.132

12 May 12:42
Compare
Choose a tag to compare

[CN]

  • CodeGenKit: 增加 TabCustomCode(misakiMeiii 提供)
  • ActionKit: 增加 StartCurrentScene(misakiMeiii 提供建议,已包含示例和文档)
  • QFramework.cs: 增加 UnRegisterWhenCurrentSceneUnloaded(misakiMeiii 提供建议,已包含示例和文档)

[EN]

  • CodeGenKit: Added TabCustomCode (provided by misakiMeiii)
    -ActionKit: Add StartCurrentScene (Suggestions from misakiMeiii, examples and documentation already included)
  • QFramework. Cs: increase UnRegisterWhenCurrentSceneUnloaded (misakiMeiii advice, examples and documentation already included)

ExampleCode 示例代码

ActionKit.Sequence()
    .Delay(1.0f)
    .StartCurrentScene();

var eventExample = new EasyEvent();

eventExample.Register(()=>
{

}).UnRegisterWhenCurrentSceneUnloaded();

本次更新由 QFramework 教程年会员 赞助,
感谢各位支持
QFramework 教程年会员地址:(https://www.gamepixedu.com/goods/show/55)[https://www.gamepixedu.com/goods/show/55]

v1.0.131

08 May 08:56
Compare
Choose a tag to compare
  • [CN] BindableProperty 统一使用 EasyEvent 删除掉 BindablePropertyUnRegister
  • [CN] LocaleKit: LocaleText 预览失效修复
  • [CN] ActionKit 增加 Task Action
  • [CN] AudioKit.PlaySound 支持 ActionKit(已包含示例、文档)
  • [CN] LocaleKit 获取当前语言时确保初始化
  • [CN] 增加 OnDeselectUnityEvent 组件
  • [CN] 增加 OnSelectUnityEvent 组件
  • [CN] PlatformCheck 增加 OSX 平台的判断
  • [CN] 修复 LocalPosition2D y 值错误的问题(感谢群友 shen 提供反馈)
  • [CN] CodeGenKit:OtherBinds 引用自身组件则命名为 SelfXXX
  • [CN] AudioKit:PlaySoundMode 支持文件模式的 PlaySound
  • [CN] GridKit:增加 DynaGrid 支持动态宽高(已包含示例、文档)
using UnityEngine;

namespace QFramework.Example
{
    public class DynaGridExample : MonoBehaviour
    {
        public class MyData
        {
            public string Key;
        }

        void Start()
        {
            var dynaGrid = new DynaGrid<MyData>();
            dynaGrid[1, 1] = new MyData() { Key = ""Hero"" };
            dynaGrid[-1, -10] = new MyData() { Key = ""Enemy"" };

            dynaGrid.ForEach((x, y, data) => { Debug.Log($""{x} {y} {data.Key}""); });
        }
    }
}
// 1 1 Hero
// -1 -10 Enemy
  • [CN] FluentAPI: 增加 ToAngle 和 AngleToDirection2D
  • [CN] CodeGenKit:ViewController 的父类设置(已包含文档)
namespace QFramework.Gungeon
{
    [ViewControllerChild]
    public abstract class PowerUp : ViewController
    {
        
    }
}

img.png

本次更新由 QFramework 教程年会员 赞助,
感谢各位支持
QFramework 教程年会员地址:(https://www.gamepixedu.com/goods/show/55)[https://www.gamepixedu.com/goods/show/55]

  • [EN] using EasyEvent deleted BindablePropertyUnRegister BindableProperty unity
  • [EN] LocaleKit: LocaleText preview failure repair
  • [EN] Added Task Action in ActionKit
  • [EN] AudioKit.PlaySound supports ActionKit (includes examples, documentation)
  • [EN] LocaleKit ensures initialization when getting the current language
  • [EN] Added OnDeselectUnityEvent component
  • [EN] Added the OnSelectUnityEvent component
  • [EN] PlatformCheck adds OSX platform judgment
  • [EN] Fix LocalPosition2D y value error issue (thanks to shen for feedback)
  • [EN] CodeGenKit: OtherBinds Binds the component that references itself is named SelfXXX
  • [EN] AudioKit:PlaySoundMode supports PlaySound in file mode
  • [EN] GridKit: Added DynaGrid support for dynamic width and height (includes examples, documentation)
  • [EN] FluentAPI: Added ToAngle and AngleToDirection2D
  • [EN] CodeGenKit: Parent class Settings for ViewController (documentation included)

v1.0.118

04 Jan 02:15
Compare
Choose a tag to compare
  • [CN] 修复 ToVector3 的冲突

  • [CN] SingletonKit:增加 PrefabSingleton 和 ScriptableSingleton

  • [CN] 增加 UnRegisterWhenDisabled 和 IMGUIHelper.SetResolution 选择 MinSize 对齐

  • [CN] 增加 DisplayLabel

  • [CN] SerializedProperty 增加 DrawProperties API

  • [CN] Architecture 支持 Deinit

  • [CN] ConsoleKit 支持外部开关

  • [CN] 改进 ConsoleKit 的开关 API

  • [CN] ResKit 增加 AssetBundle 的 Example

  • [CN] EditorKit 增加 DisplayIf

  • [CN] ActionKit 增加 EaseUtility 和 Example

  • [CN] ActionKit 支持双击事件(诗远 PR)

  • [CN] UIKit OnApplicationQuit 时清空静态数据(支持 Domain Reload 设置,于大进 提供反馈和测试)

  • [CN] SingletonKit 删除 ApplicationQuit 判断(支持 Domain Reload 设置)

  • [CN] ResKit:修复加载场景传 BundleName 报错的问题

  • [CN] LogKit 支持双击找到报错定位(感谢 clksaaa)

  • [CN] 修复 LogKti 打包时的编译错误

  • [CN] PackageKit 默认打开的为止在 Unity 所在的屏幕

  • [CN] ConsoleKit 游戏结束时清空窗口

  • [CN] 文档支持简单的搜索功能&修复切换编辑器界面输入框聚焦异常的问题(感谢MisakiMei贡献)

  • [CN] ViewController 可以选择关联架构

  • [CN] CodeGenKit: ViewController 生成文件移动位置后自动找回

  • [CN] LocaleKit: LanguageText 的 Inspector 显示改进

  • [CN] LocaleText 避免批量编辑造成的文本覆盖问题

  • [CN] LocaleKit: LocaleText 预览位置调整

  • [EN] Fix conflict with ToVector3

  • [EN] SingletonKit: Added PrefabSingleton and ScriptableSingleton

  • [EN] Added UnRegisterWhenDisabled and IMGUIHelper.SetResolution to select MinSize alignment

  • [EN] Add DisplayLabel

  • [EN] SerializedProperty adds DrawProperties API

  • [EN] Architecture supports Deinit

  • [EN] ConsoleKit supports external switches

  • [EN] Improve ConsoleKit's switch API

  • [EN] ResKit adds AssetBundle Example

  • [EN] EditorKit adds DisplayIf

  • [EN] ActionKit adds EaseUtility and Example

  • [EN] ActionKit supports double-click events (Shiyuan PR)

  • [EN] Clear static data when UIKit OnApplicationQuit (supports Domain Reload settings, Yu Dajin provides feedback and testing)

  • [EN] SingletonKit deletes ApplicationQuit judgment (supports Domain Reload settings)

  • [EN] ResKit: Fixed the problem of loading scene and passing BundleName error

  • [EN] LogKit supports double-clicking to locate error reports (thanks clksaaa)

  • [EN] Fix compilation errors when packaging LogKti

  • [EN] PackageKit opens by default on the screen where Unity is located.

  • [EN] ConsoleKit clears window when game ends

  • [EN] The document supports a simple search function & fixes the problem of abnormal focusing of the input box in the switching editor interface (thanks to MisakiMei's contribution)

  • [EN] ViewController can choose to associate the schema

  • [EN] CodeGenKit: ViewController automatically retrieves the generated file after moving it

  • [EN] LocaleKit: Inspector display improvements for LanguageText

  • [EN] LocaleText avoids text overwriting problems caused by batch editing

本次更新由 QFramework 教程年会员 赞助,

感谢各位支持

QFramework 教程年会员地址:https://www.gamepixedu.com/goods/show/55

v1.0.93

26 Sep 07:53
Compare
Choose a tag to compare
  • [CN] QFramework.cs 支持 Godot
  • [CN] 调整一些细节
  • [CN] ConsoleKit 功能原型
  • [CN] GUIGraphWindow 根据 Graph 更新名字
  • [CN] AudioKit 增加 PlaySoundMode 可以控制声音播放的模式
  • [CN] QFramework: BindableProperty 取消运算符重载
  • [CN] 删除掉 Range 的歧义
  • [CN] BindableProperty 支持比较器,减少 GC(感谢群友 New一天 、幽飞冷凝雪~冷 的贡献)
  • [CN] GraphKit 重命名
  • [CN] 增加 Distance 封装
  • [CN] 增加 OnBecameInvisible/VisibleEventTrigger
  • [CN] 增加 LocalEulerAngle
  • [CN] InstantiateWithParent 支持 Component
  • [CN] 新增 API 支持 Component
  • [CN] 增加 PosX LocalPosX 等静态扩展
  • [CN] 增加 DirectionFrom/To
  • [CN] 更新 QF.cs 增加 OrEvent 和 Example
  • [CN] AudioKit.PlaySound 增加 VolumeScale 参数
  • [EN] QFramework.cs supports Godot
  • [EN] Tweak some details
  • [EN] ConsoleKit functional prototype
  • [EN] GUIGraphWindow updates the name based on Graph
  • [EN] AudioKit adds PlaySoundMode to control sound playback mode
  • [EN] QFramework: BindableProperty removes operator overloading
  • [EN] Remove the ambiguity of Range
  • [EN] BindableProperty support comparator, reduce GC
  • [EN] GraphKit renames
  • [EN] Added Distance package
  • [EN] add OnBecameInvisible/VisibleEventTrigger
  • [EN] Adds LocalEulerAngle
  • [EN] InstantiateWithParent supports Component
  • [EN] Added API support for Component
  • [EN] Add static extensions such as PosX LocalPosX
  • [EN] Add DirectionFrom/To
  • [EN] Updated QF.cs to add OrEvent and Example
  • [EN] AudioKit.PlaySound Adds the VolumeScale parameter

本次更新由 QFramework 教程年会员 赞助,

感谢各位支持

QFramework 教程年会员地址:https://www.gamepixedu.com/goods/show/55

v1.0.76

26 Aug 08:06
Compare
Choose a tag to compare
  • [CN] Bind 在 IDE 报错问题修复
  • [CN] UIKitCreateService 支持 Unity2022
  • [CN] 文档支持 子目录
  • [CN] 修复一些警告
  • [CN] 一部分试验性的代码剔除
  • [CN] UIKit 的 Root 兼容 URP(隐藏掉 UICamera)
  • [CN] 在模拟模式下自动调用 ResKit.Init
  • [EN] Fix Bind compile error in IDE
  • [EN] UIKitCreateService supports Unity2022
  • [EN] documents support subdirectories
  • [EN] Fix some warnings
  • [EN] Delete some experimental code
  • [EN] UIKit Root compatible with URP (hide UICamera)
  • [EN] Automatically calls ResKit.Init in simulation mode

Pro 版本: http://u3d.as/SJ9https://www.gamepixedu.com/goods/show/37
本次更新由 QFramework 教程年会员 赞助,QFramework 教程年会员地址:https://www.gamepixedu.com/goods/show/55

v1.0.69

08 Jul 05:02
Compare
Choose a tag to compare
  • [CN] CodeGenKit 修复 Prefab 报错的问题
  • [CN] PackageKit 显示本地版本
  • [CN] Example 剥离
  • [CN] 优化 PackageKit 的请求频率
  • [CN] ActionKit 增加 Callback
  • [CN] PackageKit 支持编译时不关闭
  • [CN] 针对 2022 版本暂时关掉 UIKit 创建服务,防止编译报错
  • [CN] ActionKit:Global 的注册改进
  • [CN] 改进插件更新的稳定性
  • [EN] CodeGenKit fixes Prefab error issues
  • [EN] PackageKit displays local version
  • [EN] Example Split
  • [EN] Optimize the request frequency of PackageKit
  • [EN] Add Callback to ActionKit
  • [EN] PackageKit supports compiling without closing
  • [EN] Temporarily disable UIKit creation service for 2022 version to prevent compilation errors
  • [EN] ActionKit: Global registration improvement
  • [EN] Improve the stability of plugin updates

v1.0.60

17 Jun 05:16
Compare
Choose a tag to compare

[CN] ActionKit:修复 UniRx&Tween Action 的报错问题
[CN] ActionKit:增加 Lerp&Ease Example
[CN] ResKit:ResLoader 支持用 MonoScript 加载 prefab
[CN] UIKit:UIKit 第二次 Open Panel 时 Level 有效(感谢群友 NormalKatt 提供反馈)
[CN] ActionKit:修复 OnFinish 后启动新序列报错问题
[CN] ActionKit:Deinit 后等一帧回收
[EN] ActionKit: Fix compile error with UniRx&Tween Action
[EN] ActionKit: Add Lerp&Ease Example
[EN] ResKit: ResLoader supports loading prefab by MonoScript
[EN] UIKit: The Level is valid when UIKit opens the Panel for the second time
[EN] ActionKit: Fix the issue of error reporting when starting a new sequence after OnFinish
[EN] ActionKit: Wait for one frame to be recycled after Deinit

v1.0.54

24 May 10:23
Compare
Choose a tag to compare
  • CN: 增加 StopAllSound 的 Example
  • CN: ResKit.LoadSceneAsync 的回调可以为空
  • CN: ResKit 生成代码时可以选择命名风格
  • CN: 改进 ActionKit 驱动代码
  • CN: CodeGenKit:OtherBinds 生成的类型带命名空间
  • CN: 修复 IAction 暂停后导致回收的问题
  • CN: QAsset 生成的资源文件名字取消 ToLower()
  • [EN]: EventKit: Adds a bunch of event triggers
  • [EN]: Add StopAllSound Example
  • [EN]: callbacks to ResKit.LoadSceneAsync can be null
  • [EN]: ResKit can select a naming style when generating code
  • [EN]: Improved ActionKit driver code
  • [EN]: CodeGenKit: OtherBinds the type generated with namespace
  • [EN]: Fixed an issue that resulted in a recall after IAction was suspended
  • [EN]: QAsset generated resource file name cancel ToLower()

v1.0.44 OtherBinds

11 May 08:28
Compare
Choose a tag to compare
  • [CN] CodeGenKit 支持 OtherBinds
  • [CN] FSMKit 支持 OnStateChanged
  • [EN] CodeGenKit support OtherBinds
  • [EN] FSMKit support OnStateChanged