AnimationField
[Serializable]public struct AnimationFieldSerializable wrapper around an optional ChartGuru.Animation. Unity cannot
serialize Animation? directly, so components expose this struct in their
inspector. When ChartGuru.AnimationField.Enabled is false, the value is treated as null.
Properties
Section titled “Properties”
Enabled
Section titled “Enabled”public bool Enabled { get; }No description is available for this member.
Returns
System.Boolean — No return description is available.
public Animation Value { get; }No description is available for this member.
Returns
ChartGuru.Animation — No return description is available.
Disabled
Section titled “Disabled”public static AnimationField Disabled { get; }A field configured to run no Animation (instant apply).
Returns
ChartGuru.AnimationField — No return description is available.
Methods
Section titled “Methods”
Enable(Animation)
Section titled “Enable(Animation)”public static AnimationField Enable(Animation animation)A field wrapping the supplied animation.
Parameters
| Name | Type | Description |
|---|---|---|
animation |
ChartGuru.Animation |
Returns
ChartGuru.AnimationField — No return description is available.
ToNullable()
Section titled “ToNullable()”public Animation? ToNullable()No description is available for this member.
Returns
System.Nullable{ChartGuru.Animation} — No return description is available.
FromNullable(Animation?)
Section titled “FromNullable(Animation?)”public static AnimationField FromNullable(Animation? animation)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
animation |
System.Nullable{ChartGuru.Animation} |
Returns
ChartGuru.AnimationField — No return description is available.
WithAnimation(Animation)
Section titled “WithAnimation(Animation)”public AnimationField WithAnimation(Animation animation)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
animation |
ChartGuru.Animation |
Returns
ChartGuru.AnimationField — No return description is available.
WithEnabled(bool)
Section titled “WithEnabled(bool)”public AnimationField WithEnabled(bool enabled)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
enabled |
System.Boolean |
Returns
ChartGuru.AnimationField — No return description is available.
Equals(AnimationField)
Section titled “Equals(AnimationField)”public bool Equals(AnimationField other)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
other |
ChartGuru.AnimationField |
Returns
System.Boolean — No return description is available.
Equals(object)
Section titled “Equals(object)”public override bool Equals(object obj)No description is available for this member.
Parameters
| Name | Type | Description |
|---|---|---|
obj |
System.Object |
Returns
System.Boolean — No return description is available.
GetHashCode()
Section titled “GetHashCode()”public override int GetHashCode()No description is available for this member.
Returns
System.Int32 — No return description is available.