using System; using System.Collections.Generic; using UnityEngine; namespace RotateParticle.Components { [AddComponentMenu("RotateParticle/Warp")] [DisallowMultipleComponent] public class Warp : MonoBehaviour { [Serializable] public class ParticleSettings { } /// /// VRM10SpringBoneJoint に相当する /// [Serializable] public class Particle { public bool useInheritSettings; public ParticleSettings OverrideSettings; } [SerializeField] ParticleSettings BaseSettings; /// /// null のときは world root ではなく model root で処理 /// [SerializeField] Transform Center; /// /// 枝分かれ不可 /// [SerializeField] List Particles = new List(); void Reset() { Debug.Log("Warp.Reset"); } void OnValidate() { // 枝分かれを削除 Debug.Log("Warp.OnValidate"); } } }