C# Class Turret, Castle-Bashers

Inheritance: MonoBehaviour
Afficher le fichier Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Méthodes publiques

Свойство Type Description
shotObj Projectile

Méthodes publiques

Méthode Description
Init ( float facing ) : void
SetDir ( float dir ) : void
Start ( ) : void
Update ( ) : void
addEnemy ( GameObject enem ) : void
getOffset ( ) : Vector3
removeEnemy ( GameObject enem ) : void

Method Details

Init() public méthode

public Init ( float facing ) : void
facing float
Résultat void

SetDir() public méthode

public SetDir ( float dir ) : void
dir float
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

addEnemy() public méthode

public addEnemy ( GameObject enem ) : void
enem GameObject
Résultat void

getOffset() public méthode

public getOffset ( ) : Vector3
Résultat Vector3

removeEnemy() public méthode

public removeEnemy ( GameObject enem ) : void
enem GameObject
Résultat void

Property Details

shotObj public_oe property

public Projectile shotObj
Résultat Projectile