Skip to content

Conversation

@Vowgan
Copy link
Contributor

@Vowgan Vowgan commented Dec 3, 2025

This is an easily expandable Tweening setup that shouldn't hit garbage collection.
BTween makes use of extension methods, so you can call transform.TweenPosition or background.TweenColor.

Currently, there are inheritable classes for Float, Vector2, Vector3, and Color. The two classes that make use of this are TweenGraphicColor and TweenPosition, which should act as a good structure for creating new implementations.

PanelToggle.cs has been modified to take advantage of this new tweening system.

@dooly123 dooly123 merged commit 36f6d75 into BasisVR:developer Dec 3, 2025
8 checks passed
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.

2 participants