예제 #1
0
 private void Update()
 {
     //IL_0055: Unknown result type (might be due to invalid IL or missing references)
     //IL_0060: Unknown result type (might be due to invalid IL or missing references)
     //IL_0066: Unknown result type (might be due to invalid IL or missing references)
     //IL_006b: Unknown result type (might be due to invalid IL or missing references)
     //IL_0070: Unknown result type (might be due to invalid IL or missing references)
     //IL_0077: Unknown result type (might be due to invalid IL or missing references)
     //IL_0078: Unknown result type (might be due to invalid IL or missing references)
     //IL_00b5: Unknown result type (might be due to invalid IL or missing references)
     //IL_00c0: Unknown result type (might be due to invalid IL or missing references)
     //IL_00c6: Unknown result type (might be due to invalid IL or missing references)
     //IL_00cb: Unknown result type (might be due to invalid IL or missing references)
     //IL_00d0: Unknown result type (might be due to invalid IL or missing references)
     //IL_00d7: Unknown result type (might be due to invalid IL or missing references)
     //IL_00d8: Unknown result type (might be due to invalid IL or missing references)
     //IL_00e9: Unknown result type (might be due to invalid IL or missing references)
     //IL_00f4: Unknown result type (might be due to invalid IL or missing references)
     //IL_00fa: Unknown result type (might be due to invalid IL or missing references)
     //IL_00ff: Unknown result type (might be due to invalid IL or missing references)
     //IL_0104: Unknown result type (might be due to invalid IL or missing references)
     //IL_010c: Unknown result type (might be due to invalid IL or missing references)
     //IL_010e: Unknown result type (might be due to invalid IL or missing references)
     if (!(targetPoint == null) && !(animator == null))
     {
         float layerWeight = animator.GetLayerWeight(layerIndex);
         if (currentWeight != layerWeight)
         {
             currentWeight = layerWeight;
             if (isOffsetChange)
             {
                 Vector3 offset = diffOffset * currentWeight + startOffset;
                 targetPoint.offset = offset;
             }
             if (isMarkerZShiftChange)
             {
                 float markerZShift = diffMarkerZShift * currentWeight + startMarkerZShift;
                 targetPoint.markerZShift = markerZShift;
             }
             if (isBleedOffsetPosChange)
             {
                 Vector3 bleedOffsetPos = diffBleedOffsetPos * currentWeight + startBleedOffsetPos;
                 targetPoint.bleedOffsetPos = bleedOffsetPos;
             }
             if (isBleedOffsetRotChange)
             {
                 Vector3 bleedOffsetRot = diffBleedOffsetRot * currentWeight + startBleedOffsetRot;
                 targetPoint.bleedOffsetRot = bleedOffsetRot;
             }
             if (isAimMarkerPointRateChange)
             {
                 float aimMarkerPointRate = diffAimMarkerPointRate * currentWeight + startAimMarkerPointRate;
                 targetPoint.aimMarkerPointRate = aimMarkerPointRate;
             }
             if (isWeightChange)
             {
                 float weight = diffWeight * currentWeight + startWeight;
                 targetPoint.weight = weight;
             }
             targetPoint.scaledCalc();
             calc();
         }
     }
 }