Hi,
I am using this script for particle simulation
for (i = 0; i < 10; i++) {
particleEmitter.Simulate(1.0);
}
Now, in unity, I get
BCE0005: Unknown identifier: ‘i’.
I know this should be obvious, but do I have to define i?
Hi,
I am using this script for particle simulation
for (i = 0; i < 10; i++) {
particleEmitter.Simulate(1.0);
}
Now, in unity, I get
BCE0005: Unknown identifier: ‘i’.
I know this should be obvious, but do I have to define i?
for (var i = 0; i < 10; i++) {