-
-
Notifications
You must be signed in to change notification settings - Fork 759
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
UIEffect & UIHsvModifier & UITransitionEffect Strange action #144
Comments
Hi @jzgenius |
It was very easy to understand thanks to your plain explanation. :) |
hi, Is there a quick way to fix this issue? |
Call SetDirty on play mode changed. |
Waiting for your good news and thank you for your reply. |
@jzgenius, I have a good news for you. |
hi, |
I made a very simple mistake: I forgot to initialize the dirty flag when parameter texture is generated.
if (!_texture)
{
_texture = new Texture2D(_channels / 4, _instanceLimit, TextureFormat.RGBA32, false, false);
_texture.filterMode = FilterMode.Point;
_texture.wrapMode = TextureWrapMode.Clamp;
updates.Add(UpdateParameterTexture);
_needUpload = true; // <<<< Need this line!
} |
Understood, learned. |
Describe the bug
Hi,
First of all, thank you for developing such helpful package.
And,
On Editor, single UI component + UIEffect components.
set effect value after, play, stop, the value not change, but effect strange changed.
please watch gif.
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context
If you fix these issues, please mail me how to fix. Thanks!
The text was updated successfully, but these errors were encountered: