C# Class Gameplay.Unit.Attack.BaseBullet

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: badawe/GameStartUP Class Usage Examples

Protected Properties

Свойство Type Description
baseWeapon Gameplay.Unit.Attack.BaseWeapon
layerMask UnityEngine.LayerMask
weaponDefinition Gameplay.Unit.Attack.WeaponDefinition

Méthodes publiques

Méthode Description
Initialize ( Gameplay.Unit.Attack.BaseWeapon targetBaseWeapon ) : void

Méthodes protégées

Méthode Description
ApplyEffect ( IHitByBullet affectedObjects, Vector3 point ) : void
DestroyBullet ( float afterSeconds ) : void

Private Methods

Méthode Description
DestroyBulletAfterSecondsCoroutine ( float seconds ) : IEnumerator

Method Details

ApplyEffect() protected méthode

protected ApplyEffect ( IHitByBullet affectedObjects, Vector3 point ) : void
affectedObjects IHitByBullet
point UnityEngine.Vector3
Résultat void

DestroyBullet() protected méthode

protected DestroyBullet ( float afterSeconds ) : void
afterSeconds float
Résultat void

Initialize() public méthode

public Initialize ( Gameplay.Unit.Attack.BaseWeapon targetBaseWeapon ) : void
targetBaseWeapon Gameplay.Unit.Attack.BaseWeapon
Résultat void

Property Details

baseWeapon protected_oe property

protected BaseWeapon,Gameplay.Unit.Attack baseWeapon
Résultat Gameplay.Unit.Attack.BaseWeapon

layerMask protected_oe property

protected LayerMask,UnityEngine layerMask
Résultat UnityEngine.LayerMask

weaponDefinition protected_oe property

protected WeaponDefinition,Gameplay.Unit.Attack weaponDefinition
Résultat Gameplay.Unit.Attack.WeaponDefinition