The public float speed is defaulted to 0, but can be set in the Unity inspector. Note: changing the value in code won't do anything, make sure you change it in the inspector!
↧