Click or drag to resize

SpellBookViewCastSpell Method

Cast the recognized spell.

Namespace:  RavingBots.MagicGestures.UI.Views
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public void CastSpell(
	MagicWand wand,
	GestureData gesture,
	int spellId
)

Parameters

wand
Type: RavingBots.MagicGestures.ControllerMagicWand
The wand used to perform the gesture.
gesture
Type: RavingBots.MagicGestures.ControllerGestureData
The performed gesture.
spellId
Type: SystemInt32
The index of the recognized gesture.
Remarks
This is registered as a handler for the OnGestureRecognizedEvent event.
See Also