private void Update() { if (processer != null) { processer.Update(); } }
private void Update() { //IL_0022: Unknown result type (might be due to invalid IL or missing references) //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_0028: Unknown result type (might be due to invalid IL or missing references) //IL_002e: Unknown result type (might be due to invalid IL or missing references) //IL_0038: Unknown result type (might be due to invalid IL or missing references) //IL_003d: Unknown result type (might be due to invalid IL or missing references) if (animEvent != null) { animEvent.Update(); } if (enableEventMove) { Transform transform = this.get_transform(); transform.set_position(transform.get_position() + eventMoveVelocity * Time.get_deltaTime()); } }
private void LateUpdate() { //IL_0012: Unknown result type (might be due to invalid IL or missing references) //IL_006d: Unknown result type (might be due to invalid IL or missing references) //IL_0073: Unknown result type (might be due to invalid IL or missing references) //IL_0084: Unknown result type (might be due to invalid IL or missing references) //IL_0089: Unknown result type (might be due to invalid IL or missing references) //IL_0099: Unknown result type (might be due to invalid IL or missing references) //IL_009e: Unknown result type (might be due to invalid IL or missing references) //IL_00b9: Unknown result type (might be due to invalid IL or missing references) //IL_00e2: Unknown result type (might be due to invalid IL or missing references) //IL_00e7: Unknown result type (might be due to invalid IL or missing references) //IL_013d: Unknown result type (might be due to invalid IL or missing references) //IL_0142: Unknown result type (might be due to invalid IL or missing references) //IL_0183: Unknown result type (might be due to invalid IL or missing references) //IL_018a: Expected O, but got Unknown //IL_0190: Unknown result type (might be due to invalid IL or missing references) //IL_01cd: Unknown result type (might be due to invalid IL or missing references) //IL_01d2: Unknown result type (might be due to invalid IL or missing references) //IL_01d6: Unknown result type (might be due to invalid IL or missing references) //IL_01db: Unknown result type (might be due to invalid IL or missing references) //IL_01e2: Unknown result type (might be due to invalid IL or missing references) //IL_01e7: Unknown result type (might be due to invalid IL or missing references) //IL_01e8: Unknown result type (might be due to invalid IL or missing references) //IL_01ed: Unknown result type (might be due to invalid IL or missing references) //IL_020e: Unknown result type (might be due to invalid IL or missing references) //IL_0219: Unknown result type (might be due to invalid IL or missing references) //IL_022f: Unknown result type (might be due to invalid IL or missing references) //IL_0234: Unknown result type (might be due to invalid IL or missing references) //IL_0247: Unknown result type (might be due to invalid IL or missing references) //IL_024c: Unknown result type (might be due to invalid IL or missing references) //IL_0251: Unknown result type (might be due to invalid IL or missing references) //IL_0252: Unknown result type (might be due to invalid IL or missing references) //IL_0257: Unknown result type (might be due to invalid IL or missing references) //IL_0259: Unknown result type (might be due to invalid IL or missing references) //IL_025a: Unknown result type (might be due to invalid IL or missing references) //IL_025c: Unknown result type (might be due to invalid IL or missing references) //IL_0261: Unknown result type (might be due to invalid IL or missing references) //IL_0269: Unknown result type (might be due to invalid IL or missing references) //IL_0270: Unknown result type (might be due to invalid IL or missing references) //IL_0280: Unknown result type (might be due to invalid IL or missing references) //IL_0285: Unknown result type (might be due to invalid IL or missing references) //IL_029d: Unknown result type (might be due to invalid IL or missing references) //IL_02be: Unknown result type (might be due to invalid IL or missing references) //IL_02ef: Unknown result type (might be due to invalid IL or missing references) if (targetObject == null) { this.get_gameObject().SetActive(false); } else { if (animEventProcessor != null) { animEventProcessor.Update(); } switch (animationStep) { case AnimationStep.MOVE_TO_TARGET_POS: { animationTimer += Time.get_deltaTime(); Vector3 position2 = Vector3.Lerp(dropPos, targetPos, animationTimer / MOVE_TO_TARGET_TIME); float x = position2.x; Vector3 position3 = _transform.get_position(); position2._002Ector(x, position3.y, position2.z); _transform.set_position(position2); if (animationTimer >= MOVE_TO_TARGET_TIME) { animationStep = AnimationStep.DROP_TO_GROUND; } break; } case AnimationStep.DROP_TO_GROUND: { AnimatorStateInfo currentAnimatorStateInfo2 = animator.GetCurrentAnimatorStateInfo(0); if (currentAnimatorStateInfo2.get_fullPathHash() == endAnimHash) { targetPoint = this.GetComponent <TargetPoint>(); animationStep = AnimationStep.NONE; } if (isRare) { SoundManager.PlayOneShotUISE(10000061); } else { SoundManager.PlayOneShotUISE(10000062); } break; } case AnimationStep.OPEN: { AnimatorStateInfo currentAnimatorStateInfo = animator.GetCurrentAnimatorStateInfo(0); if (currentAnimatorStateInfo.get_fullPathHash() == openAnimHash && currentAnimatorStateInfo.get_normalizedTime() > 0.99f) { animationStep = AnimationStep.NONE; if (effect != null) { EffectManager.ReleaseEffect(effect.get_gameObject(), true, false); } this.get_gameObject().SetActive(false); } break; } case AnimationStep.GET: if (distanceAnim.IsPlaying()) { moveTime += Time.get_deltaTime(); Bounds bounds = targetObject._collider.get_bounds(); Vector3 center = bounds.get_center(); Vector3 val = _transform.get_position() - center; float magnitude = val.get_magnitude(); if (distance < magnitude) { distance = magnitude; } val = val.get_normalized() * distance * (1f - distanceAnim.Update()); Vector3 val2 = Quaternion.AngleAxis(moveTime * speedAnim.Update(), Vector3.get_up()) * val; Vector3 position = center + val2; _transform.set_position(position); Vector3 localScale = Vector3.get_one() * scaleAnim.Update(); if (distanceAnim.IsPlaying()) { _transform.set_localScale(localScale); } } else { Transform val3 = EffectManager.GetEffect("ef_btl_mpdrop_01", null); val3.set_position(_transform.get_position()); rymFX component = val3.GetComponent <rymFX>(); if (component != null) { component.AutoDelete = true; component.LoopEnd = true; } this.get_gameObject().SetActive(false); } break; } } }