C# Class playerAttack, r2d2_assignment

Inheritance: MonoBehaviour
Mostra file Open project: timmutton/r2d2_assignment Class Usage Examples

Public Properties

Property Type Description
attackSound UnityEngine.AudioClip
spell GameObject

Public Methods

Method Description
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
castSpell ( ) : void
clearSpellData ( ) : void
handleGesture ( GestureEnum gest ) : void

Private Methods

Method Description
GetQuadDamageMultiplier ( ) : float

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

castSpell() public method

public castSpell ( ) : void
return void

clearSpellData() public method

public clearSpellData ( ) : void
return void

handleGesture() public method

public handleGesture ( GestureEnum gest ) : void
gest GestureEnum
return void

Property Details

attackSound public_oe property

public AudioClip,UnityEngine attackSound
return UnityEngine.AudioClip

spell public_oe property

public GameObject spell
return GameObject