SpellEditView Class |
Namespace: RavingBots.MagicGestures.UI.Views
public class SpellEditView : View
The SpellEditView type exposes the following members.
Name | Description | |
---|---|---|
SpellEditView | Initializes a new instance of the SpellEditView class |
Name | Description | |
---|---|---|
ColorSlots |
All colors slots.
| |
EffectSlots |
All effects slots.
|
Name | Description | |
---|---|---|
Awake |
Set the initial state.
(Overrides ViewAwake.) | |
CreateColorSlots |
Create all of the color slots in a circle.
| |
CreateEffectSlots |
Create all of the effect slots.
| |
GetRandomColorSlot |
Get a random color slot.
| |
GoBack |
Called when user presses the back button.
(Overrides ViewGoBack.) | |
SetColor |
Change the selected color.
| |
SetEffect |
Change the selected effect.
| |
SetVisible |
Change the visibility of the view.
(Overrides ViewSetVisible(Boolean, Boolean).) | |
Start | ||
UpdateSelectedColor |
Update the slots after a new color is selected.
| |
UpdateSelectedEffect |
Update the slots after a new effect is selected.
|
Name | Description | |
---|---|---|
ColorSlotCount |
The number of color slots.
| |
ColorSlotPrefab |
The prefab for the color slots.
| |
ColorSlotRadius |
The radius of the circle on which slots will be laid out.
| |
EffectSlotPrefab |
The prefab for the effect slots.
| |
EffectSlotRadius |
The radius of the effect slots.
| |
PreviewSlot |
The gesture preview slot.
| |
SlotColor1 |
Slot colors are interpolated between
three colors based on the position of the slot.
| |
SlotColor2 |
Slot colors are interpolated between
three colors based on the position of the slot.
| |
SlotColor3 |
Slot colors are interpolated between
three colors based on the position of the slot.
|