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

UIParticle.Scale does not affect the gizmo of shape module #21

Closed
tracer8 opened this issue Dec 18, 2018 · 11 comments
Closed

UIParticle.Scale does not affect the gizmo of shape module #21

tracer8 opened this issue Dec 18, 2018 · 11 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tracer8
Copy link

tracer8 commented Dec 18, 2018

Hi Mob, thank you for awesome Plugin! It working great, but have 1 inconvenience, when i use Scale factor, particle scaled, but shape of it not scale, it's still small like image bellow, i'm use canvas overlay, i must scale transform of particle to make it working correct. Please check it out, thank you so much!

And why did you need to provide Scale factor when we can use Transform Scale?

bandicam 2018-12-18 17-07-05-352

@mob-sakai mob-sakai added the bug Something isn't working label Dec 18, 2018
@mob-sakai mob-sakai self-assigned this Dec 18, 2018
@mob-sakai
Copy link
Owner

Hi @tracer8
Thank you for reporting!

I would like to know more information on this issue.
Can you submit a reproducible project for this issue?

@tracer8
Copy link
Author

tracer8 commented Dec 18, 2018 via email

@mob-sakai
Copy link
Owner

Oh, I understood.
"Shape" is not about Shape module, right?

@tracer8
Copy link
Author

tracer8 commented Dec 18, 2018 via email

@tracer8
Copy link
Author

tracer8 commented Dec 18, 2018 via email

@mob-sakai
Copy link
Owner

I tested the following steps on Unity 2018.3.f1:

  • Click GameObject > Effects > ParticleSystem
  • Put it in canvas overlay
  • Add UIParticle component to it
  • Reset the transform position and scale
  • Play editor
  • Change UIParticle.Scale property

Result: It seems to be working well...

@tracer8
Copy link
Author

tracer8 commented Dec 18, 2018

Agh yeah, it's working very good. What i mean is gizmos size of shape , so i can modify it through Scene view. Sorry for misleading :D

You can see bellow, what i mention is shape :
bandicam 2018-12-18 21-00-07-286

If i use Scale property, it will not change its size on Scene view, it's still small like this:
bandicam 2018-12-18 21-01-40-703

If i use transform scale, gizmos box of shape will scale too, so i can edit it from Scene view:
bandicam 2018-12-18 21-01-37-687

@mob-sakai
Copy link
Owner

I completely understand.

The gizmo is drawn by ParticleSystemInspector.
UIParticle.Scale has no effect on it.

I think that this issue will be solved by drawing scaled gizmo by UIParticleEditor.

@mob-sakai mob-sakai changed the title Scale not affect Particle Shape UIParticle.Scale does not affect the gizmo of shape module Dec 19, 2018
@mob-sakai
Copy link
Owner

[WIP] prototype gizmo (purple line)
dec-20-2018 10-17-25

@tracer8
Copy link
Author

tracer8 commented Dec 20, 2018 via email

@mob-sakai
Copy link
Owner

Scaled gizmo will be released soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants