C# Class GenericGem, angrygoats

Purpose: A class to control the generic behaviour of all gems and their interations
Inheritance: MonoBehaviour
Afficher le fichier Open project: dulb640/angrygoats Class Usage Examples

Méthodes publiques

Свойство Type Description
boltMaterial Material
cost int
damage int
duration int
isCurrent bool
staffMaterial Material
staffParticles Material

Protected Properties

Свойство Type Description
anim Animator
endTime float
player GameObject
playerControl PlayerControl,
shot GameObject
shotSpawn Transform

Méthodes publiques

Méthode Description
Start ( ) : void
castAnimation ( ) : void
onEnemyHit ( GameObject other ) : void

Méthodes protégées

Méthode Description
Update ( ) : void
doEffect ( ) : void

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() protected méthode

protected Update ( ) : void
Résultat void

castAnimation() public méthode

public castAnimation ( ) : void
Résultat void

doEffect() protected méthode

protected doEffect ( ) : void
Résultat void

onEnemyHit() public méthode

public onEnemyHit ( GameObject other ) : void
other GameObject
Résultat void

Property Details

anim protected_oe property

protected Animator anim
Résultat Animator

boltMaterial public_oe property

public Material boltMaterial
Résultat Material

cost public_oe property

public int cost
Résultat int

damage public_oe property

public int damage
Résultat int

duration public_oe property

public int duration
Résultat int

endTime protected_oe property

protected float endTime
Résultat float

isCurrent public_oe property

public bool isCurrent
Résultat bool

player protected_oe property

protected GameObject player
Résultat GameObject

playerControl protected_oe property

protected PlayerControl, playerControl
Résultat PlayerControl,

shot protected_oe property

protected GameObject shot
Résultat GameObject

shotSpawn protected_oe property

protected Transform shotSpawn
Résultat Transform

staffMaterial public_oe property

public Material staffMaterial
Résultat Material

staffParticles public_oe property

public Material staffParticles
Résultat Material