Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Can I attach particeattachment in script?
#19
josemendez Wrote:The solution in that thread's last comment won't solve the issue, will only keep the error from logging to the console. The editor won't work properly, since properties are still null. The proper solution to this bug (caused by Unity improperly managing public members when multiple inspectors are open) is to close all secondary inspectors.

This was circumvented in Obi 7.0, as we use Unity's new Stage API instead which doesn't trigger the error.



Hello. I updated obi to 7 few days ago and now Im dealing with setting particles into groups again so I can set value of any properties of each group's particles that I need.
I just wrote the code below to create groups and I am facing again same issue of messy ui layout after editing particles of blueprint through script.


   
Code:
  coat.ClearParticleGroups();
        coat.AppendNewParticleGroup("red");
        coat.AppendNewParticleGroup("white");
        coat.AppendNewParticleGroup("blue");


The current project that I am working is totally diffrent newish project and I didnt edit any obi class sciprt nor library script. Can you tell me how to fix this?
Reply


Messages In This Thread
RE: Can I attach particeattachment in script? - by gahyun11 - Yesterday, 10:48 AM