private void Update()
{
if (Input.GetKeyDown(KeyCode.Alpha1))
{
Spells();
}
}
public void Spells()
{
if (mana >= 1)
{
Manaa();
powerup.Play();
jumpForce = 23f;
}
else
{
jumpForce = 14f;
}
}
//////
error CS0019: Operator ‘>=’ cannot be applied to operands of type ‘Slider’ and ‘int’
//////