TopDown Engine  v3.6
MoreMountains.TopDownEngine.WeaponHandler Class Reference

A simple component you can use to control a weapon and have it start and stop on demand, without having a character to handle it You can see it in action in the KoalaHealth demo scene, it's powering that demo's cannons More...

Inheritance diagram for MoreMountains.TopDownEngine.WeaponHandler:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMMonoBehaviour

Public Member Functions

virtual void StartShooting ()
 Makes the associated weapon start shooting More...
 
virtual void StopShooting ()
 Makes the associated weapon stop shooting More...
 

Public Attributes

Weapon TargetWeapon
 the weapon you want this component to pilot More...
 
bool StartShootingButton
 
bool StopShootingButton
 

Detailed Description

A simple component you can use to control a weapon and have it start and stop on demand, without having a character to handle it You can see it in action in the KoalaHealth demo scene, it's powering that demo's cannons

Member Function Documentation

◆ StartShooting()

virtual void MoreMountains.TopDownEngine.WeaponHandler.StartShooting ( )
virtual

Makes the associated weapon start shooting

◆ StopShooting()

virtual void MoreMountains.TopDownEngine.WeaponHandler.StopShooting ( )
virtual

Makes the associated weapon stop shooting

Member Data Documentation

◆ StartShootingButton

bool MoreMountains.TopDownEngine.WeaponHandler.StartShootingButton

◆ StopShootingButton

bool MoreMountains.TopDownEngine.WeaponHandler.StopShootingButton

◆ TargetWeapon

Weapon MoreMountains.TopDownEngine.WeaponHandler.TargetWeapon

the weapon you want this component to pilot


The documentation for this class was generated from the following file: