Hi i have suddenly big problem … i began to write some scripts and all of a sudden they do themself only once and thats it …
here is an exaple
void Update () {
if (Physics.Raycast (fireFrom.position, fireFrom.forward, out hit)) {
Debug.Log ("We hit " + hit);
}
}
when i hit something it shows it in debug but when i hit something again there is silence … dunno why. Is it possible that this is connected with some properties?