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;
|
||||
}
|
||||
}
|
||||
11
PresetGenerator/Runtime/ParameterPreset.cs.meta
Normal file
11
PresetGenerator/Runtime/ParameterPreset.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 708f2c2e0c8172048b9c1f1b19705dc6
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
16
PresetGenerator/Runtime/PresetGeneratorRuntime.asmdef
Normal file
16
PresetGenerator/Runtime/PresetGeneratorRuntime.asmdef
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "PresetGeneratorRuntime",
|
||||
"rootNamespace": "",
|
||||
"references": [
|
||||
"VRC.SDK3A"
|
||||
],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": [],
|
||||
"noEngineReferences": false
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d3fbd56666ff1ee4da8101d622364046
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Add table
Add a link
Reference in a new issue