private void PlayBossVoice() { float voiceLength = ShipUtils.GetVoiceLength(this._clsShipModel, 1); ShipUtils.PlayBossInsertVoice(this._clsShipModel); Observable.Timer(TimeSpan.FromSeconds((double)Mathe.Lerp(0f, voiceLength, 0.9f))).Subscribe(delegate(long _) { base.animation.get_Item(ProdBossInsert.AnimationList.ProdBossInsertMistOut.ToString()).set_time(base.animation.get_Item(ProdBossInsert.AnimationList.ProdBossInsertMistOut.ToString()).get_clip().get_length()); base.animation.get_Item(ProdBossInsert.AnimationList.ProdBossInsertMistOut.ToString()).set_speed(-1f); this.Play(ProdBossInsert.AnimationList.ProdBossInsertMistOut, null); }); }
private void PlayBossVoice() { float voiceLength = ShipUtils.GetVoiceLength(_clsShipModel, 1); ShipUtils.PlayBossInsertVoice(_clsShipModel); Observable.Timer(TimeSpan.FromSeconds(Mathe.Lerp(0f, voiceLength, 0.9f))).Subscribe(delegate { throw new NotImplementedException("‚È‚É‚±‚ê"); // base.animation.get_Item(AnimationList.ProdBossInsertMistOut.ToString()).set_time(base.animation.get_Item(AnimationList.ProdBossInsertMistOut.ToString()).clip.length); // base.animation.get_Item(AnimationList.ProdBossInsertMistOut.ToString()).set_speed(-1f); Play(AnimationList.ProdBossInsertMistOut, null); }); }