Can someone help my i have typed :
rotationspeed = 100;
rotation : float = Input.GetAxis (
) * rotationspeed;
rigidbody.AddRelativeTorque (Vector3.back * rotation);
Assets/BallControl.js(6,17): BCE0019: 'DeltaTime' is not a member of 'UnityEngine.Time'. Did you mean 'deltaTime'?
Assets/BallControl.js(7,1): BCE0144: 'UnityEngine.Component.rigidbody' is obsolete. Property rigidbody has been deprecated. Use GetComponent<Rigidbody>() instead. (UnityUpgradable)
Assets/BallControl.js(7,11): BCE0019: 'AddRelativeTorque' is not a member of 'UnityEngine.Component'.