when I run this code it get error when i trying to use Sspeed Argument 3: cannot convert from 'method group' to 'float'
I have try do .ToString()
public Rigidbody dot;
public float Speed = 1000f;
float Sspeed()
{
float Sspeed = Speed * Time.deltaTime;
return Sspeed;
}
void Start()
{
Debug.Log(Sspeed);
}
void FixedUpdate()
{
if (Input.GetKey("a"))
{
dot.AddForce(0, 0, Sspeed);
}
}