Set Blendshape Value
Example
using UnityEngine;
using AdvancedPeopleSystem;
public class DemoScript : MonoBehaviour
{
public CharacterCustomization character;
int weight = 0;
private void Update()
{
if (Input.GetKeyDown(KeyCode.Q))
{
weight += 10;
if (weight > 100)
weight = 0;
character.SetBlendshapeValue(CharacterBlendShapeType.Fat, weight);
}
}
}
- Press Q to increment blendshape weight