using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class HitController : MonoBehaviour {
public int level;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
How do I access the ‘level’ variable from another script?