using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class helloWorld : MonoBehaviour { public Text greeting; void Start() { greeting.text = "hello,world."; } void Update() { } }
using System.Collections; using System.Collections.Generic; using UnityEngine; public class rotateBall : MonoBehaviour { void Start() { } void Update() { transform.Rotate(0,1,0); } }