Class CastMethodData
Inheritance
object
CastMethodData
Assembly: Dew.Core.dll
Syntax
[Serializable]
public class CastMethodData : ICastMethodDataArrow, ICastMethodDataCone, ICastMethodDataNone, ICastMethodDataPoint, ICastMethodDataTarget
Constructors
CastMethodData()
Declaration
CastMethodData(CastMethodData)
Declaration
public CastMethodData(CastMethodData data)
Parameters
Fields
_angle
Declaration
[SerializeField]
[ShowIf("ShouldAngleFieldShow", true)]
public float _angle
Field Value
_isClamping
Declaration
[SerializeField]
[ShowIf("ShouldIsClampingFieldShow", true)]
public bool _isClamping
Field Value
_length
Declaration
[SerializeField]
[ShowIf("ShouldLengthFieldShow", true)]
public float _length
Field Value
_radius
Declaration
[SerializeField]
[ShowIf("ShouldRadiusFieldShow", true)]
public float _radius
Field Value
_range
Declaration
[SerializeField]
[ShowIf("ShouldRangeFieldShow", true)]
public float _range
Field Value
_width
Declaration
[SerializeField]
[ShowIf("ShouldWidthFieldShow", true)]
public float _width
Field Value
type
Declaration
[HideLabel]
[EnumToggleButtons]
public CastMethodType type
Field Value
Properties
arrowData
Declaration
public ICastMethodDataArrow arrowData { get; }
Property Value
coneData
Declaration
public ICastMethodDataCone coneData { get; }
Property Value
noneData
Declaration
public ICastMethodDataNone noneData { get; }
Property Value
pointData
Declaration
public ICastMethodDataPoint pointData { get; }
Property Value
targetData
Declaration
public ICastMethodDataTarget targetData { get; }
Property Value
Methods
GetEffectiveRange(AbilityTrigger)
Declaration
public float GetEffectiveRange(AbilityTrigger parent)
Parameters
Returns
Explicit Interface Implementations
ICastMethodDataArrow.length
Declaration
float ICastMethodDataArrow.length { get; }
Returns
ICastMethodDataArrow.width
Declaration
float ICastMethodDataArrow.width { get; }
Returns
ICastMethodDataCone.angle
Declaration
float ICastMethodDataCone.angle { get; }
Returns
ICastMethodDataCone.radius
Declaration
float ICastMethodDataCone.radius { get; }
Returns
ICastMethodDataNone.radius
Declaration
float ICastMethodDataNone.radius { get; }
Returns
ICastMethodDataPoint.isClamping
Declaration
bool ICastMethodDataPoint.isClamping { get; }
Returns
ICastMethodDataPoint.radius
Declaration
float ICastMethodDataPoint.radius { get; }
Returns
ICastMethodDataPoint.range
Declaration
float ICastMethodDataPoint.range { get; }
Returns
ICastMethodDataTarget.radius
Declaration
float ICastMethodDataTarget.radius { get; }
Returns
ICastMethodDataTarget.range
Declaration
float ICastMethodDataTarget.range { get; }
Returns
Implements