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...
|
| virtual void | StartShooting () |
| | Makes the associated weapon start shooting.
|
| virtual void | StopShooting () |
| | Makes the associated weapon stop shooting.
|
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.
◆ 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.
◆ 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:
- H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Common/Scripts/Environment/WeaponHandler.cs