Question by
phodis1970 · Oct 24, 2018 at 08:17 PM ·
script.not working
None, not even the most simple scripts work!!!! example...
OK... so I make a cube... I add a plane... I make the below script and drag it onto the cube... so far so good. I run it... it appears to run... but NO scripts work..even this simple spin code!!.. I have re-installed Unity like 5 freaking times now.... does anyone have any ideas I am going crazy here. ...an example of code I have been trying.
using System.Collections; using System.Collections.Generic; using UnityEngine;
public class spin : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.Rotate (new Vector3 (0, 0, 100) * Time.deltaTime * 20);
}
}
Comment