title: unity object reset button and slider
body: <p>I want to make that on keyboard r button press reset object into position: x112 y8 z153. Object name is Sphere i can rename it. </p>
  
  <p>And i want a gui slider that can change forceadder 50f in game from 0 to 500.</p>
  
  <p>I am a beginner. Just finished begginer tutorials. What code do i need to get? i tried to make that reset button my self but dosent do anything to me it says in debug that its pressed but it dosent reset it. Soo i removed that code.</p>
  
  <p>My code right now:</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class ShootMeBall : MonoBehaviour 
  {
      public float forceadder = 500f;
  
      void OnMouseDown()
      {
          rigidbody.AddForce (transform.forward * forceadder);
          rigidbody.useGravity = true;
      }
  
      void Awake()
      {
          Debug.Log ("I am awake.");
          Screen.lockCursor = true;
          gameObject.renderer.material.color = Color.yellow;
      }
  }
  </code></pre>