preset generator
This commit is contained in:
parent
95b05f9a14
commit
e58dde30e2
13 changed files with 437 additions and 0 deletions
21
PresetGenerator/Runtime/ParameterPreset.cs
Normal file
21
PresetGenerator/Runtime/ParameterPreset.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue