Skip to content

Commit

Permalink
fix: property changes by AnimationClip are not applied on the frame w…
Browse files Browse the repository at this point in the history
…here the GameObject is activated in the editor
  • Loading branch information
mob-sakai committed Oct 2, 2024
1 parent c661bcd commit 35d9d20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Packages/src/Runtime/UIMaterialPropertyInjector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ protected virtual void OnEnable()
SetDirty();
SetMaterialDirty();
ShouldRebuild();
RebuildPropertiesIfNeeded();

if (resetOnEnable)
{
Expand Down

0 comments on commit 35d9d20

Please sign in to comment.