public override void Skip() { if (!skip) { for (int i = 0; i < effects.Length; i++) { GameObject val = effects[i]; if (val != null) { rymFX component = val.GetComponent <rymFX>(); if (component != null) { float num = component.GetEndFrame() - component.GetCurFrame(); if (num > 0f) { float num2 = num / 30f; component.UpdateFx(num2, null, component.IsLoop()); } } } } if (animators != null && animators.Count > 0) { for (int j = 0; j < animators.Count; j++) { animators[j].set_speed(10000f); } } SoundManager.StopSEAll(0); base.Skip(); } }
public override void Skip() { if (!skip) { foreach (GameObject effect in effects) { if (Object.op_Implicit(effect)) { rymFX component = effect.GetComponent <rymFX>(); float num = component.GetLoopLastFrame() - component.GetCurFrame(); component.UpdateFx(num / 30f, null, false); } } base.Skip(); } }