LSBUGPG / UnityLibrary

A library of useful Unity components and test scenes
GNU General Public License v3.0
0 stars 0 forks source link

MeleeattackImproved. #130

Closed Tayloj36 closed 7 years ago

Tayloj36 commented 7 years ago

Readme: Meleeattack Improved.

Basicly I added a value that can be customised from within the script that can be modified to define any new weapons that the player might create. I also created some sample weapons that use this system.

The Enemy preset has various values for dammage. Each of the weapons are defined by tags, the coder can use theese scripts to create more weapons.

The weapons start out disabled but are enabled when the mouse is pressed, the weapon appears and does dammage before promtly dissapearing. the weapon is defined by what button has been pressed prior to attacking.

Yet again, I can only upload the scripts thanks to the file limits.