using System.Collections.Generic; namespace UnityEngine.Animations.Rigging { /// /// This interface represents classes that hold and serialize effectors. /// Effectors do nothing during runtime. /// public interface IRigEffectorHolder { #if UNITY_EDITOR /// List of rig effectors associated with this IRigEffectorHolder. IEnumerable effectors { get; } /// Adds a new effector to the IRigEffectorHolder. /// The Transform represented by the effector. /// The visual style of the effector. void AddEffector(Transform transform, RigEffectorData.Style style); /// Removes an effector from the IRigEffectorHolder. /// The Transform from which to remove the effector. void RemoveEffector(Transform transform); /// Queries whether there is an effector for the specified Transform. /// The Transform to query. /// True if there is an effector for this transform. False otherwise. bool ContainsEffector(Transform transform); #endif } }