From 161ccbaa357cacbaaf5d2ab715250bd69f3fc202 Mon Sep 17 00:00:00 2001 From: yum Date: Sun, 8 Mar 2026 17:39:19 -0700 Subject: Implement object sets feature --- Scripts/YOTSCore.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Scripts/YOTSCore.cs') 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 paths = new List(); + // Names of object sets to use as paths. + [SerializeField] + public List sets = new List(); + // 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 paths = new List(); + // Names of object sets to use as paths. + [SerializeField] + public List sets = new List(); + [SerializeField] public float offValue = 0.0f; @@ -185,8 +193,20 @@ namespace YOTS public float onValue = 1.0f; } + [System.Serializable] + public class ObjectSet { + [SerializeField] + public string name; + + [SerializeField] + public List objects = new List(); + } + [System.Serializable] public class AnimatorConfigFile { + [SerializeField] + public List objectSets = new List(); + [SerializeField] public List toggles = new List(); -- cgit v1.2.3