Skip to content

Class: CastMethodData ​

  • Namespace: Global
  • Assembly: Dew.Core.dll
csharp
[Serializable]
public class CastMethodData : ICastMethodDataArrow, ICastMethodDataCone, ICastMethodDataNone, ICastMethodDataPoint, ICastMethodDataTarget

Fields ​

NameDeclarationDescription
_angle`[SerializeField]
[ShowIf("ShouldAngleFieldShow", true)]
public float _angle`
_isClamping`[SerializeField]
[ShowIf("ShouldIsClampingFieldShow", true)]
public bool _isClamping`
_length`[SerializeField]
[ShowIf("ShouldLengthFieldShow", true)]
public float _length`
_radius`[SerializeField]
[ShowIf("ShouldRadiusFieldShow", true)]
public float _radius`
_range`[SerializeField]
[ShowIf("ShouldRangeFieldShow", true)]
public float _range`
_width`[SerializeField]
[ShowIf("ShouldWidthFieldShow", true)]
public float _width`
type`[HideLabel]
[EnumToggleButtons]
public CastMethodType type`

Properties ​

NameDeclarationDescription
arrowDatapublic ICastMethodDataArrow arrowData { get; }
coneDatapublic ICastMethodDataCone coneData { get; }
noneDatapublic ICastMethodDataNone noneData { get; }
pointDatapublic ICastMethodDataPoint pointData { get; }
targetDatapublic ICastMethodDataTarget targetData { get; }

Methods ​

GetEffectiveRange(AbilityTrigger) ​

csharp
public float GetEffectiveRange(AbilityTrigger parent)

Parameters:

NameTypeDescription
parentAbilityTrigger

Returns: float

Maintained by the Shape of Dreams Modding Community