C# Class weapon, 1gam-dungeon

Inheritance: MonoBehaviour
Afficher le fichier Open project: OneGameAMonth/1gam-dungeon Class Usage Examples

Méthodes publiques

Свойство Type Description
_sound_hit UnityEngine.AudioClip
damage int
hit_prefab GameObject

Méthodes publiques

Méthode Description
OnCollisionEnter ( Collision other ) : void
Start ( ) : void
can_attack ( bool attack ) : void
set_damage ( int amount ) : void

Method Details

OnCollisionEnter() public méthode

public OnCollisionEnter ( Collision other ) : void
other Collision
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

can_attack() public méthode

public can_attack ( bool attack ) : void
attack bool
Résultat void

set_damage() public méthode

public set_damage ( int amount ) : void
amount int
Résultat void

Property Details

_sound_hit public_oe property

public AudioClip,UnityEngine _sound_hit
Résultat UnityEngine.AudioClip

damage public_oe property

public int damage
Résultat int

hit_prefab public_oe property

public GameObject hit_prefab
Résultat GameObject