C# Class Turret, Castle-Bashers

Inheritance: MonoBehaviour
Mostrar archivo Open project: DevelopersGuild/Castle-Bashers Class Usage Examples

Public Properties

Property Type Description
shotObj Projectile

Public Methods

Method 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 method

public Init ( float facing ) : void
facing float
return void

SetDir() public method

public SetDir ( float dir ) : void
dir float
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

addEnemy() public method

public addEnemy ( GameObject enem ) : void
enem GameObject
return void

getOffset() public method

public getOffset ( ) : Vector3
return Vector3

removeEnemy() public method

public removeEnemy ( GameObject enem ) : void
enem GameObject
return void

Property Details

shotObj public_oe property

public Projectile shotObj
return Projectile