probem with set value on int.

Hi I have a INT value in one C# file that I wan’t to access from antoher script fine so god.
public class Points : MonoBehaviour {

	public int points;
	// Use this for initialization
	void Start () {

	// Update is called once per frame
	void Update () {
	public int Point(){
		return points;

If set a value on points etc points = 50;
But if I put in a value on in the Inspector then it won’t work, it will still be 50 in the game.

	void OnCollisionEnter (Collision collision) {
		if(collision.gameObject.tag == "Jumper"){
			Points addpoint = new Points();
			addforce = addpoint.points;
			rigidbody.AddForce(0 , addforce , 0);

new Points() will create a new Points-object, so it will not have the values you set in the editor.

Points addpoint = collision.gameObject.GetComponent(“Points”);