14-04-2019, 12:54 AM
I tried to access the "Speed" parameter of the ObiEmitter script in another self-defined script but could not find it. I am wondering if there is any way to change this parameter in another script during the run time?
|
Help How to change the Obi parameter in another script during the run time
|
|
14-04-2019, 12:54 AM
I tried to access the "Speed" parameter of the ObiEmitter script in another self-defined script but could not find it. I am wondering if there is any way to change this parameter in another script during the run time?
15-04-2019, 01:13 PM
(14-04-2019, 12:54 AM)zjyzjy1121 Wrote: I tried to access the "Speed" parameter of the ObiEmitter script in another self-defined script but could not find it. I am wondering if there is any way to change this parameter in another script during the run time? Hi there, You can set/get the speed parameter like this. It is just a regular public variable: Code: emitter.speed = 1; |
|
« Next Oldest | Next Newest »
|