puksometron
Member
Hi all,
So I'm having an issue with stopping an ability with Button Down. I'm starting the ability using Button Down as well, but I can't seem to get the ability to stop using Button Down. Here is the ability:
Here are the properties in the Inspector:
If I press the key, the AbilityStarted() event gets called, but if I press the key again, AbilityStopped() is not being called. Am I missing something here? Any help would be much appreciated
So I'm having an issue with stopping an ability with Button Down. I'm starting the ability using Button Down as well, but I can't seem to get the ability to stop using Button Down. Here is the ability:
Code:
public class SomeAbility : Generic
{
protected override void AbilityStarted()
{
Debug.Log("Ability started");
}
protected override void AbilityStopped(bool force)
{
Debug.Log("Ability stopped");
}
}
Here are the properties in the Inspector:
If I press the key, the AbilityStarted() event gets called, but if I press the key again, AbilityStopped() is not being called. Am I missing something here? Any help would be much appreciated