C# Class TurretScript, Heavy-Insertion

Inheritance: MonoBehaviour
Show file Open project: Rabenvald/Heavy-Insertion Class Usage Examples

Public Properties

Property Type Description
FinalTargetPosition Vector3
FireRate float
Missile GameObject
Muzzle GameObject
PitchComponet GameObject
Projectile GameObject
ProjectileSpeed float
RotationRate float
SlerpRotationRate float
StabilizationAmount float
TargetPosition Vector3
TargetTransform Transform
TargetVector Vector3
respawnTimer float
target GameObject

Public Methods

Method Description
Awake ( ) : void
FixedUpdate ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
Fire ( ) : void
FireMissile ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

FinalTargetPosition public property

public Vector3 FinalTargetPosition
return Vector3

FireRate public property

public float FireRate
return float

Missile public property

public GameObject Missile
return GameObject

Muzzle public property

public GameObject Muzzle
return GameObject

PitchComponet public property

public GameObject PitchComponet
return GameObject

Projectile public property

public GameObject Projectile
return GameObject

ProjectileSpeed public property

public float ProjectileSpeed
return float

RotationRate public property

public float RotationRate
return float

SlerpRotationRate public property

public float SlerpRotationRate
return float

StabilizationAmount public property

public float StabilizationAmount
return float

TargetPosition public property

public Vector3 TargetPosition
return Vector3

TargetTransform public property

public Transform TargetTransform
return Transform

TargetVector public property

public Vector3 TargetVector
return Vector3

respawnTimer public property

public float respawnTimer
return float

target public property

public GameObject target
return GameObject