How do I enable “click to use ability”? Say I click/touch ability icon in slot 0 ( key 1), the circle effect appears, I click again to release the aoe. If I click the ability in slot 1, another ability will get triggered.
//in playerController
private void UseAbilities()
{
for (int i = 0; i < numberOfAbilities; i++)
{
if (Input.GetKeyDown(KeyCode.Alpha1 + i))
{
actionStore.Use(i, gameObject);
}
// should I modify here?
}
}