Closed Tb64 closed 7 years ago
Right now we have a basic RangedWeapon class but we should have one for Melee as well that all melee weapons/skills can use Inheritance on. This might be difficult because of animations. Be sure that the player does not hit himself.
Attack MeleeSpeed MeleeDelay MeleeChargeUp? Knockback? Stun?
https://msdn.microsoft.com/en-us/library/ms173149.aspx
A wiki page on the GitHub for your class would be great too!
Super Class Videos: https://unity3d.com/learn/tutorials/topics/scripting/inheritance?playlist=17117 https://unity3d.com/learn/tutorials/topics/scripting/polymorphism?playlist=17117 https://unity3d.com/learn/tutorials/topics/scripting/generics?playlist=17117 https://unity3d.com/learn/tutorials/topics/scripting/overriding?playlist=17117
Weapon Class added
Right now we have a basic RangedWeapon class but we should have one for Melee as well that all melee weapons/skills can use Inheritance on. This might be difficult because of animations. Be sure that the player does not hit himself.
Attack MeleeSpeed MeleeDelay MeleeChargeUp? Knockback? Stun?
https://msdn.microsoft.com/en-us/library/ms173149.aspx
A wiki page on the GitHub for your class would be great too!
Super Class Videos: https://unity3d.com/learn/tutorials/topics/scripting/inheritance?playlist=17117 https://unity3d.com/learn/tutorials/topics/scripting/polymorphism?playlist=17117 https://unity3d.com/learn/tutorials/topics/scripting/generics?playlist=17117 https://unity3d.com/learn/tutorials/topics/scripting/overriding?playlist=17117