3D Dungeon Crawler
Loading...
Searching...
No Matches
WeaponController Class Reference
Inheritance diagram for WeaponController:

Public Member Functions

void swingWeapon ()
 
void AttackRaycast ()
 
void HitTarget (RaycastHit hit)
 

Public Attributes

Animator weaponAnimator
 
WeaponItemData weaponData
 
PlayerController playerController
 
PlayerEquipment playerEquipment
 
PlayerRessource playerRessource
 

Static Public Attributes

const string SWING = "Swing"
 
const string ATTACK1 = "Attack 1"
 
const string ATTACK2 = "Attack 2"
 
const string DAGGER1 = "Dagger 1"
 
const string DAGGER2 = "Dagger 2"
 
const string POLEARM1 = "PoleArm 1"
 
const string POLEARM2 = "PoleArm 2"
 

Properties

bool isAttacking [get]
 

Member Function Documentation

◆ AttackRaycast()

void WeaponController.AttackRaycast ( )

◆ HitTarget()

void WeaponController.HitTarget ( RaycastHit hit)

◆ swingWeapon()

void WeaponController.swingWeapon ( )

Member Data Documentation

◆ ATTACK1

const string WeaponController.ATTACK1 = "Attack 1"
static

◆ ATTACK2

const string WeaponController.ATTACK2 = "Attack 2"
static

◆ DAGGER1

const string WeaponController.DAGGER1 = "Dagger 1"
static

◆ DAGGER2

const string WeaponController.DAGGER2 = "Dagger 2"
static

◆ playerController

PlayerController WeaponController.playerController

◆ playerEquipment

PlayerEquipment WeaponController.playerEquipment

◆ playerRessource

PlayerRessource WeaponController.playerRessource

◆ POLEARM1

const string WeaponController.POLEARM1 = "PoleArm 1"
static

◆ POLEARM2

const string WeaponController.POLEARM2 = "PoleArm 2"
static

◆ SWING

const string WeaponController.SWING = "Swing"
static

◆ weaponAnimator

Animator WeaponController.weaponAnimator

◆ weaponData

WeaponItemData WeaponController.weaponData

Property Documentation

◆ isAttacking

bool WeaponController.isAttacking
get

The documentation for this class was generated from the following file: