using System.Collections; using System.Collections.Generic; using UnityEngine; public class ClothingAdjuster : MonoBehaviour { [SerializeField] private int AdjustValue = 100; [SerializeField] private int AdjusIndex = 1; private void OnEnable() { SkinnedMeshRenderer currentItem = GetComponentInChildren(); if(currentItem!=null) { currentItem.SetBlendShapeWeight(AdjusIndex, AdjustValue); } } }