SpellSlot Class |
Namespace: RavingBots.MagicGestures.UI.Elements
public class SpellSlot : BubbleButton
The SpellSlot type exposes the following members.
| Name | Description | |
|---|---|---|
| IsValid | if the spell is set and valid.
| |
| PreviewGesture |
The gesture used to preview the spell. May be .
| |
| SpellData |
The spell to preview. May be .
|
| Name | Description | |
|---|---|---|
| Awake |
Save the initial state.
(Overrides BubbleButtonAwake.) | |
| SetSpellData |
Called when the previewed spell changes.
| |
| Update |
Update the element state.
(Overrides UiElementUpdate.) |
| Name | Description | |
|---|---|---|
| _lineRenderer |
The line renderer used.
| |
| _spellData |
The spell to preview. May be .
| |
| PreviewPointsDensity |
The density of the preview.
| |
| PreviewWiggleAngle |
The preview rotation angle.
| |
| PreviewWiggleSpeed |
The speed of preview rotation.
|