SharedVRCStuff/PresetGenerator/Runtime/ParameterPreset.cs

21 lines
No EOL
584 B
C#

using System.Collections.Generic;
using UnityEngine;
using VRC.SDK3.Avatars.ScriptableObjects;
using VRC.SDKBase;
namespace gay.lilyy.PresetGenerator
{
[System.Serializable]
public class PresetParameter {
public string name;
public VRCExpressionParameters.ValueType valueType;
public float setTo;
public bool shouldChange = false;
}
public class ParameterPreset : MonoBehaviour, IEditorOnly {
public string Name = "New Preset";
[HideInInspector] // custom inspector
public List<PresetParameter> Parameters;
}
}