2026-05-06 15:07:56 +02:00

23 lines
418 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UMA.Examples
{
public class UMADnaTweaker : MonoBehaviour
{
public string dnaToTweak;
public UMACustomization customizer;
public void TweakDNA(float newValue)
{
if (string.IsNullOrEmpty(dnaToTweak))
return;
if (customizer == null)
return;
customizer.PerformDNAChange(dnaToTweak, newValue);
}
}
}