Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by LunaTrap · Oct 25, 2017 at 10:20 AM · particle systemeditorguicurveeditor window

Particle System Curve? (Editor)

Hello, I'm creating a simple script that saves quality profiles for my particles. So I want to show all the values of the particle for each profile. But the ParticleSystem.MinMaxCurveis a struct and it's not shown on the editor.

So my question is, how do I show the same exact editor field that the particle system does for the MinMaxCurve on my script?

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ifurkend · Oct 25, 2017 at 11:35 AM 1
Share

Sadly I don't think $$anonymous$$$$anonymous$$axCurve is exposed for retrieval. The closest thing you can get is the ~$$anonymous$$ultiplier counterpart of the corresponding $$anonymous$$$$anonymous$$axCurve property (e.g. rateOverTime vs rateOverTime$$anonymous$$ultiplier) which returns a meaningful float value at least.

avatar image LunaTrap ifurkend · Oct 26, 2017 at 05:13 PM 0
Share

No No, I mean how does Unity shows the curve editor for the Particle System? Should I just use an Animation Curve? they don't look similar at all.

avatar image ifurkend LunaTrap · Oct 27, 2017 at 01:46 AM 1
Share

You can just define the AnimationCurve in a separate script and then apply it to both Particle System and your "quality profile", although your effect artist would resent you for this requirement, because the curve editors of Particle System and the curve field for custom script work out differently in a subtle way, and it's just counter-intuitive to edit the curve in a separate script ins$$anonymous$$d of the appropriate particle system module.

In the end, I just don't comprehend the purpose of your "quality profile" to include animation curves which have negligible impact on resource usage (even if that happens to be the case, it is mostly caused by the bug of the engine itself.)

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by richardkettlewell · Nov 10, 2017 at 10:32 AM

There is currently no easy way to do this. We are working on making it possible though.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Tom507 · Feb 15, 2018 at 04:18 PM 0
Share

Hi, having the same problem, could you link me to the hard way please? or is it in the Beta ?

avatar image richardkettlewell ♦♦ Tom507 · Feb 27, 2018 at 11:05 AM 0
Share

Sorry I was unclear - there is no hard way, it's basically impossible. But it's co$$anonymous$$g in 2018.1, so yes, check out the beta :)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

77 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Casting browser window (or any window) inside Unity editor? Or a transparent Unity app? 0 Answers

How do I get a reference to the default editor windows (Hierarchy, Console, and Inspector)? 1 Answer

Having Trouble Editing a Particle's "Size over Lifetime" via Script (JS) 2 Answers

Blurry editor UI 2 Answers

How to draw two button overlap in editor window and keep it correct render and event?, 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges