1234567891011121314151617 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class ClothingController : MonoBehaviour {
- [SerializeField]
- private SkinnedMeshRenderer meshRenderer;
- int counter = 0;
- public void OnClick()
- {
- meshRenderer.SetBlendShapeWeight(1, counter);
- counter+=20;
- }
- }
|