Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: LitMotion Debugger #168

Merged
merged 9 commits into from
Dec 8, 2024
Merged

Add: LitMotion Debugger #168

merged 9 commits into from
Dec 8, 2024

Conversation

yn01-dev
Copy link
Owner

@yn01-dev yn01-dev commented Dec 8, 2024

The MotionTracker window has been removed, and the LitMotion Debugger has been added, which has more powerful functions. This allows you to view data about all motions being played, as well as capture stack traces and search by DebugName.

スクリーンショット 2024-12-08 15 22 15

I have also added WithDebugName(), which allows you to set the debugger display name, and GetDebugName(), which retrieves the debugger display name. These are only enabled in the editor and development builds, and this information will be lost in release builds.

var handle = LMotion.Create(0f, 1f, 1f)
    .WithDebugName("Foo")
    .BindToUnityLogger();

Debug.Log(handle.GetDebugName()); // Foo

Additionally, I implemented ToString() for MotionHandle. This returns string like "MotionHandle`1(0:1)".

@yn01-dev yn01-dev merged commit 432ed8b into v2.0 Dec 8, 2024
@yn01-dev yn01-dev deleted the feat-debugger branch December 8, 2024 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant