diff options
Diffstat (limited to 'Scripts/YOTSCore.cs')
| -rw-r--r-- | Scripts/YOTSCore.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Scripts/YOTSCore.cs b/Scripts/YOTSCore.cs index f32bdfa..c5cd5dc 100644 --- a/Scripts/YOTSCore.cs +++ b/Scripts/YOTSCore.cs @@ -143,6 +143,10 @@ namespace YOTS [SerializeField]
public List<string> paths = new List<string>();
+ // Names of object sets to use as paths.
+ [SerializeField]
+ public List<string> sets = new List<string>();
+
// The value of the blendshape when the toggle is off. Range from 0-100.
[SerializeField]
public float offValue = 0.0f;
@@ -163,6 +167,10 @@ namespace YOTS [SerializeField]
public List<string> paths = new List<string>();
+ // Names of object sets to use as paths.
+ [SerializeField]
+ public List<string> sets = new List<string>();
+
[SerializeField]
public float offValue = 0.0f;
@@ -186,8 +194,20 @@ namespace YOTS }
[System.Serializable]
+ public class ObjectSet {
+ [SerializeField]
+ public string name;
+
+ [SerializeField]
+ public List<string> objects = new List<string>();
+ }
+
+ [System.Serializable]
public class AnimatorConfigFile {
[SerializeField]
+ public List<ObjectSet> objectSets = new List<ObjectSet>();
+
+ [SerializeField]
public List<ToggleSpec> toggles = new List<ToggleSpec>();
[SerializeField]
|
