Class AnimationInputSettings
Use this class to manage all the information required to record an Animation from a given GameObject.
Namespace: UnityEditor.Recorder.Input
Syntax
[Serializable]
public class AnimationInputSettings : RecorderInputSettings
Properties
gameObject
Indicates the GameObject to record from.
Declaration
public GameObject gameObject { get; set; }
Property Value
Type | Description |
---|---|
GameObject |
InputType
Declaration
protected override Type InputType { get; }
Property Value
Type | Description |
---|---|
Type |
Overrides
Recursive
Use this property to record all the gameObject hierarchy (True) or not (False).
Declaration
public bool Recursive { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
AddComponentToRecord(Type)
Adds a Component to record from the GameObject.
Declaration
public void AddComponentToRecord(Type componentType)
Parameters
Type | Name | Description |
---|---|---|
Type | componentType | The type of the Component. |
ClearExposedReference()
Removes the binding value for the current key.
Declaration
public void ClearExposedReference()
DuplicateExposedReference()
Duplicates the existing Scene binding key under a new unique key (useful when duplicating the Recorder input).
Declaration
public void DuplicateExposedReference()
ValidityCheck(List<String>)
Declaration
protected override bool ValidityCheck(List<string> errors)
Parameters
Type | Name | Description |
---|---|---|
List<String> | errors |
Returns
Type | Description |
---|---|
Boolean |