I am trying to control the settings of a ParticleSystem from an FSM using SetProperty. It is working fine in the Editor but nothing seems to be happening on my android device. Does anyone have any ideas.
Some specifics:
I have a ParticleSystem on my prefab which has a simple particle system. It is set to "Play On Awake" but the emission module is disabled. Sometime after creating an instance of the prefab, my FSM is using GetComponent to grab the ParticleSystem, then setting its enableEmission property to true, to turn the system on (while also using startColor, emissionRate, etc to configure its behaviour).
As I said, the above is working fine in the editor, but on my device nothing is happening.
If I enable the emission module in the prefab then the particle system does play on the device as expected, as soon as the instance is created. But I can't change its properties (colour etc).
I would far prefer to do things using SetProperty like this (rather than adding any extensions to PlayMaker), in order to keep my project size down and because I'm not looking to do anything more complex than what ought to be possible using Set/GetProperty.